]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-http: test-http-client-errors - Revert previous retry changes
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Thu, 30 Sep 2021 13:38:23 +0000 (15:38 +0200)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Thu, 30 Sep 2021 13:38:23 +0000 (15:38 +0200)
The real bug is found now, so the previous fix attempt isn't useful.
Reverts ed1264368a5435c3080871380156978a8951fe26

src/lib-http/test-http-client-errors.c

index a5670bae43e4d50b6fd3b16f2a1c81599903620f..4dc558ac88eaa54c6ca422153b75f2da5532f8e8 100644 (file)
@@ -463,7 +463,7 @@ static void test_connection_refused(void)
                               test_server_connection_refused, 1, NULL);
        test_end();
 
-       http_client_set.max_connect_attempts = 4;
+       http_client_set.max_connect_attempts = 3;
 
        test_begin("connection refused backoff");
        test_subprocess_notify_signal_reset(SIGUSR1);
@@ -564,7 +564,7 @@ static void test_connection_lost_prematurely(void)
        struct http_client_settings http_client_set;
 
        test_client_defaults(&http_client_set);
-       http_client_set.max_connect_attempts = 4;
+       http_client_set.max_connect_attempts = 3;
        http_client_set.max_attempts = 3;
 
        test_begin("connection lost prematurely");