diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-05-27 11:20:46 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-05-27 11:20:46 +0200 |
commit | 72e50cb45e9b3df912fa542c6e6bcccf51a59838 (patch) | |
tree | 5ab81c1a2183576816611a06fb8af47d05aaf79e /src/testing | |
parent | de7a1c7e5bf46b6388ff6708e963c7bcc39a0db2 (diff) | |
download | merchant-72e50cb45e9b3df912fa542c6e6bcccf51a59838.tar.gz merchant-72e50cb45e9b3df912fa542c6e6bcccf51a59838.tar.bz2 merchant-72e50cb45e9b3df912fa542c6e6bcccf51a59838.zip |
use reliably non-answering HTTP endpoint, instead of one that might answer
Diffstat (limited to 'src/testing')
-rw-r--r-- | src/testing/test_merchant_api.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/testing/test_merchant_api.c b/src/testing/test_merchant_api.c index 65b987e4..ef8d74cf 100644 --- a/src/testing/test_merchant_api.c +++ b/src/testing/test_merchant_api.c @@ -445,7 +445,10 @@ run (void *cls, PAYTO_I1, "EUR:4.98", NULL /* random WTID */, - "http://localhost/404/", + /* non-routable IP address, + so we are sure to not get + any reply */ + "http://192.0.2.1/404/", MHD_HTTP_GATEWAY_TIMEOUT), TALER_TESTING_cmd_merchant_get_transfers ("get-transfers-1", merchant_url, |