diff options
author | Martin Lucina <martin@lucina.net> | 2012-03-13 12:19:31 +0100 |
---|---|---|
committer | Martin Lucina <martin@lucina.net> | 2012-03-13 12:19:31 +0100 |
commit | 5749a18faea208ad19f39612c3c55166ca409fef (patch) | |
tree | 51976654ec6b706293820fe6b104f8f41774b5f4 /tests/reconnect.cpp | |
parent | 4ae2af8c9a3f9f928b411eb31b4007a4ce8f26ba (diff) |
xs_utils cleanup 1/2 (minimize exported api)
Reduced xs_utils to the minimum functions required (xs_stopwatch_*)
xs_sleep, xs_thread_* are internal to unit tests and have been moved
to testutil.hpp, useless use of xs_sleep in perf/ has been removed.
Signed-off-by: Martin Lucina <martin@lucina.net>
Diffstat (limited to 'tests/reconnect.cpp')
-rw-r--r-- | tests/reconnect.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/reconnect.cpp b/tests/reconnect.cpp index c23d306..af8eda4 100644 --- a/tests/reconnect.cpp +++ b/tests/reconnect.cpp @@ -39,7 +39,7 @@ int XS_TEST_MAIN () assert (rc == 3); // Wait a while for few attempts to reconnect to happen. - xs_sleep (1); + sleep (1); // Bind the peer and get the message. rc = xs_bind (pull, "tcp://127.0.0.1:5560"); @@ -67,7 +67,7 @@ int XS_TEST_MAIN () assert (rc == 3); // Wait a while for few attempts to reconnect to happen. - xs_sleep (1); + sleep (1); // Bind the peer and get the message. rc = xs_bind (pull, "tcp://127.0.0.1:5560"); |