summaryrefslogtreecommitdiff
path: root/src/util/test_helper_rsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/test_helper_rsa.c')
-rw-r--r--src/util/test_helper_rsa.c17
1 files changed, 14 insertions, 3 deletions
diff --git a/src/util/test_helper_rsa.c b/src/util/test_helper_rsa.c
index 96b88c345..4a9fa9058 100644
--- a/src/util/test_helper_rsa.c
+++ b/src/util/test_helper_rsa.c
@@ -471,15 +471,26 @@ run_test (void)
GNUNET_break (0);
return 77;
}
- dh = TALER_CRYPTO_helper_denom_connect (cfg,
- &key_cb,
- NULL);
+
+ fprintf (stderr, "Waiting for helper client directory to become available ");
+ for (unsigned int i = 0; i<1000; i++)
+ {
+ dh = TALER_CRYPTO_helper_denom_connect (cfg,
+ &key_cb,
+ NULL);
+ if (NULL != dh)
+ break;
+ nanosleep (&req, NULL);
+ fprintf (stderr, ".");
+ }
GNUNET_CONFIGURATION_destroy (cfg);
if (NULL == dh)
{
GNUNET_break (0);
return 1;
}
+ fprintf (stderr, " done.\n");
+
/* wait for helper to start and give us keys */
fprintf (stderr, "Waiting for helper to start ");
for (unsigned int i = 0; i<1000; i++)