diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-08-17 23:38:00 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-08-17 23:38:00 +0200 |
commit | 51e0612f8ba656248c4902edd601965fb36cbc49 (patch) | |
tree | c86c9a424da18a673ff6b837fa811821d6f376ce /src/mint-lib/test_mint_api.c | |
parent | 1a0eb0307a664c0dcc7bdb8bc08cf7aaba4e7f3e (diff) | |
download | exchange-51e0612f8ba656248c4902edd601965fb36cbc49.tar.gz exchange-51e0612f8ba656248c4902edd601965fb36cbc49.tar.bz2 exchange-51e0612f8ba656248c4902edd601965fb36cbc49.zip |
some DB logic fixes, so now more of tests pass
Diffstat (limited to 'src/mint-lib/test_mint_api.c')
-rw-r--r-- | src/mint-lib/test_mint_api.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mint-lib/test_mint_api.c b/src/mint-lib/test_mint_api.c index 69a50e036..9681cb9ba 100644 --- a/src/mint-lib/test_mint_api.c +++ b/src/mint-lib/test_mint_api.c @@ -1998,8 +1998,6 @@ run (void *cls, .details.deposit.contract = "{ \"items\"={ \"name\":\"ice cream\", \"value\":3 } }", .details.deposit.transaction_id = 2 }, -#if TEST_REFRESH - /* Test running a failing melt operation (same operation again must fail) */ { .oc = OC_REFRESH_MELT, .label = "refresh-melt-failing", @@ -2011,7 +2009,6 @@ run (void *cls, // (signature differs from coin that was deposited...) /* *************** end of /refresh testing ************** */ -#endif { .oc = OC_END } }; @@ -2030,7 +2027,7 @@ run (void *cls, GNUNET_assert (NULL != mint); shutdown_task = GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_multiply - (GNUNET_TIME_UNIT_SECONDS, 30), + (GNUNET_TIME_UNIT_SECONDS, 150), &do_shutdown, is); } @@ -2075,7 +2072,7 @@ main (int argc, fprintf (stderr, "."); sleep (1); } - while (0 != system ("wget -q -t 1 http://localhost:8081/agpl -o /dev/null -O /dev/null")); + while (0 != system ("wget -q -t 1 -T 1 http://127.0.0.1:8081/agpl -o /dev/null -O /dev/null")); fprintf (stderr, "\n"); result = GNUNET_SYSERR; GNUNET_SCHEDULER_run (&run, NULL); |