From 56a11f0896fa141960cf84cc462964e287c2314f Mon Sep 17 00:00:00 2001 From: Phil Porada Date: Thu, 13 Apr 2023 12:56:30 -0400 Subject: [PATCH] Fix CI failures related to akamai-test-srv (#6815) Fixes a CI problem introduced by https://github.com/letsencrypt/boulder/pull/6758 where we could send two purge requests which caused sporadic CI failures due to an infinite loop. Fixes https://github.com/letsencrypt/boulder/issues/6806 --- test/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/helpers.py b/test/helpers.py index ae80fda4d..8418f04a4 100644 --- a/test/helpers.py +++ b/test/helpers.py @@ -131,7 +131,7 @@ def verify_akamai_purge(): raise(Exception("Timed out waiting for Akamai purge")) response = requests.get("http://localhost:6789/debug/get-purges") purgeData = response.json() - if len(purgeData["V3"]) != 1: + if len(purgeData["V3"]) == 0: continue break reset_akamai_purges()