summaryrefslogtreecommitdiff
path: root/tests/sub_forward.cpp
diff options
context:
space:
mode:
authorMartin Lucina <martin@lucina.net>2012-03-13 12:19:31 +0100
committerMartin Lucina <martin@lucina.net>2012-03-13 12:19:31 +0100
commit5749a18faea208ad19f39612c3c55166ca409fef (patch)
tree51976654ec6b706293820fe6b104f8f41774b5f4 /tests/sub_forward.cpp
parent4ae2af8c9a3f9f928b411eb31b4007a4ce8f26ba (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/sub_forward.cpp')
-rw-r--r--tests/sub_forward.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sub_forward.cpp b/tests/sub_forward.cpp
index cfff043..6d385de 100644
--- a/tests/sub_forward.cpp
+++ b/tests/sub_forward.cpp
@@ -62,7 +62,7 @@ int XS_TEST_MAIN ()
assert (rc >= 0);
// Wait a bit till the subscription gets to the publisher.
- xs_sleep (1);
+ sleep (1);
// Send an empty message.
rc = xs_send (pub, NULL, 0, 0);