diff options
-rw-r--r-- | jstests/repl/repl7.js | 2 | ||||
-rw-r--r-- | shell/ShellUtils.cpp | 1 | ||||
-rw-r--r-- | util/message.cpp | 3 |
3 files changed, 4 insertions, 2 deletions
diff --git a/jstests/repl/repl7.js b/jstests/repl/repl7.js index 3219735b0dd..2e72a0a1e01 100644 --- a/jstests/repl/repl7.js +++ b/jstests/repl/repl7.js @@ -35,6 +35,8 @@ doTest = function( signal ) { assert.eq( 1, m.getDB( n ).a.find().count() ); } + sleep( 300 ); + ports.forEach( function( x ) { stopMongod( x ); } ); } diff --git a/shell/ShellUtils.cpp b/shell/ShellUtils.cpp index 7b026fcdd31..33df6185663 100644 --- a/shell/ShellUtils.cpp +++ b/shell/ShellUtils.cpp @@ -11,7 +11,6 @@ #include <vector> #include <sys/socket.h> #include <netinet/in.h> -#include <errno.h> using namespace std; using namespace v8; diff --git a/util/message.cpp b/util/message.cpp index 4f2acfbd210..26671c1944c 100644 --- a/util/message.cpp +++ b/util/message.cpp @@ -24,6 +24,7 @@ #include <time.h> #include "../util/goodies.h" #include <fcntl.h> +#include <errno.h> namespace mongo { @@ -74,7 +75,7 @@ namespace mongo { log() << "Listener on port " << port << " aborted" << endl; return; } - log() << "Listener: accept() returns " << s << " errno:" << errno << endl; + log() << "Listener: accept() returns " << s << " errno:" << errno << ", strerror: " << strerror( errno ) << endl; continue; } disableNagle(s); |