From 72e50cb45e9b3df912fa542c6e6bcccf51a59838 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 27 May 2021 11:20:46 +0200 Subject: use reliably non-answering HTTP endpoint, instead of one that might answer --- src/testing/test_merchant_api.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/testing') 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, -- cgit v1.2.3