diff options
author | Aaron <aaron@10gen.com> | 2009-04-06 16:21:56 -0400 |
---|---|---|
committer | Aaron <aaron@10gen.com> | 2009-04-06 16:21:56 -0400 |
commit | aa5309a68bf3fb6c1ef4a4c7459a047df097cac2 (patch) | |
tree | 34b20b3102d2a620ed6d09d355d737ef4e9622ec | |
parent | e3f1f1b2bfb0fa81eff66e01f883ff1435a5697a (diff) | |
download | mongo-aa5309a68bf3fb6c1ef4a4c7459a047df097cac2.tar.gz |
print error description, test timeout MINOR
-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); |