diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2019-04-11 00:10:00 +0200 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2019-04-11 00:23:28 +0200 |
commit | 12aa516024eb13ad5ccde4e176fd6765d3ebb763 (patch) | |
tree | cad62b7b2e77ad1f5155951aa03bfbef28804b66 /src/bank-lib/test_bank_api_with_fakebank_twisted.c | |
parent | 0d3758807bb2fcce4a2dd7b845b7f6bacb363fa7 (diff) | |
download | exchange-12aa516024eb13ad5ccde4e176fd6765d3ebb763.tar.xz |
Fix history CMD loop, + make fakebank demonize.
This latter enable us to call the "check-service" CMD
against the Fakebank, instead of doing forced X seconds
sleep.
Diffstat (limited to 'src/bank-lib/test_bank_api_with_fakebank_twisted.c')
-rw-r--r-- | src/bank-lib/test_bank_api_with_fakebank_twisted.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bank-lib/test_bank_api_with_fakebank_twisted.c b/src/bank-lib/test_bank_api_with_fakebank_twisted.c index 4cf500fbe..2b4a5493c 100644 --- a/src/bank-lib/test_bank_api_with_fakebank_twisted.c +++ b/src/bank-lib/test_bank_api_with_fakebank_twisted.c @@ -82,8 +82,8 @@ run (void *cls, * Can't use the "wait service" CMD here because the * fakebank runs inside the same process of the test. */ - TALER_TESTING_cmd_sleep ("wait interface", - 2), + TALER_TESTING_cmd_wait_service ("wait-service", + TWISTED_BANK_URL), TALER_TESTING_cmd_bank_history ("history-0", TWISTED_BANK_URL, |