aboutsummaryrefslogtreecommitdiff
path: root/src/fs/test_fs_start_stop.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-11-10 20:43:30 +0000
committerChristian Grothoff <christian@grothoff.org>2009-11-10 20:43:30 +0000
commit8a25345d472b2ef4c94567b77dbaea777789e399 (patch)
treed7ceb3703b21364ed48ee7a1ec1528ce4c2acd36 /src/fs/test_fs_start_stop.c
parent95a1c7ec7d5d290cf4a23d2166afc226399c6a28 (diff)
downloadgnunet-8a25345d472b2ef4c94567b77dbaea777789e399.tar.gz
gnunet-8a25345d472b2ef4c94567b77dbaea777789e399.zip
get rid of (most) unnecessary sleeps
Diffstat (limited to 'src/fs/test_fs_start_stop.c')
-rw-r--r--src/fs/test_fs_start_stop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/test_fs_start_stop.c b/src/fs/test_fs_start_stop.c
index eac14b070..a6f902962 100644
--- a/src/fs/test_fs_start_stop.c
+++ b/src/fs/test_fs_start_stop.c
@@ -63,7 +63,6 @@ setup_peer (struct PeerContext *p, const char *cfgname)
63 "-L", "DEBUG", 63 "-L", "DEBUG",
64#endif 64#endif
65 "-c", cfgname, NULL); 65 "-c", cfgname, NULL);
66 sleep (1); /* allow ARM to start */
67#endif 66#endif
68 GNUNET_assert (GNUNET_OK == GNUNET_CONFIGURATION_load (p->cfg, cfgname)); 67 GNUNET_assert (GNUNET_OK == GNUNET_CONFIGURATION_load (p->cfg, cfgname));
69 GNUNET_ARM_start_services (p->cfg, sched, "core", NULL); 68 GNUNET_ARM_start_services (p->cfg, sched, "core", NULL);
@@ -104,6 +103,7 @@ run (void *cls,
104 GNUNET_FS_FLAGS_NONE, 103 GNUNET_FS_FLAGS_NONE,
105 GNUNET_FS_OPTIONS_END); 104 GNUNET_FS_OPTIONS_END);
106 GNUNET_assert (NULL != fs); 105 GNUNET_assert (NULL != fs);
106 sleep (1); /* FIXME */
107 GNUNET_FS_stop (fs); 107 GNUNET_FS_stop (fs);
108} 108}
109 109