Lots of cleanups to self-tests

* Removed or truncated sleeps so the tests run faster
* Removed dependencies on zmq_utils
* Rewrote a few tests that were confusing
* Minor code cleanups
This commit is contained in:
Pieter Hintjens
2013-01-31 19:46:22 +01:00
parent c39cb0bde1
commit 963c6a8e2f
21 changed files with 242 additions and 335 deletions

View File

@@ -55,8 +55,6 @@ int main (void)
int rc;
pthread_t threads [THREAD_COUNT];
fprintf (stderr, "test_shutdown_stress running...\n");
for (j = 0; j != 10; j++) {
// Check the shutdown with many parallel I/O threads.