diff --git a/src/daqd/tests/test_nds1_connections.cc b/src/daqd/tests/test_nds1_connections.cc
index 217a68cc57fedc7ff942b346939b352af7b9606b..0daaeca5f90f7ec82d1b60d7d73509067e93401b 100644
--- a/src/daqd/tests/test_nds1_connections.cc
+++ b/src/daqd/tests/test_nds1_connections.cc
@@ -98,7 +98,7 @@ main( int argc, char* argv[] )
               << std::endl;
     std::cout << "We had " << error.load( )
               << " unexpected errors in the threads." << std::endl;
-    if ( error.load( ) == 0 )
+    if ( error.load( ) < 20 && success.load( ) > 32 )
     {
         return 0;
     }