From a261ecbf39557439a56583e1f77f22f8b0ecaecb Mon Sep 17 00:00:00 2001 From: Damian Meden Date: Fri, 4 Feb 2022 10:54:58 +0000 Subject: [PATCH] Add delay for config files update so the config loading process can see difference between files timestamps. --- .../regex_revalidate/regex_revalidate_miss.test.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/gold_tests/pluginTest/regex_revalidate/regex_revalidate_miss.test.py b/tests/gold_tests/pluginTest/regex_revalidate/regex_revalidate_miss.test.py index 1499e5157eb..9fdfba50948 100644 --- a/tests/gold_tests/pluginTest/regex_revalidate/regex_revalidate_miss.test.py +++ b/tests/gold_tests/pluginTest/regex_revalidate/regex_revalidate_miss.test.py @@ -145,6 +145,8 @@ ps.ReturnCode = 0 ps.TimeOut = 5 tr.TimeOut = 5 +# Delay it so the reload can catch up the diff between config files timestamps. +tr.DelayStart = 1 # 3 Test - Revalidate path1 tr = Test.AddTestRun("Revalidate MISS path1") @@ -174,6 +176,8 @@ ps.ReturnCode = 0 ps.TimeOut = 5 tr.TimeOut = 5 +# Delay it so the reload can catch up the diff between config files timestamps. +tr.DelayStart = 1 # 6 Test - Cache stale tr = Test.AddTestRun("Cache stale path1") @@ -195,6 +199,8 @@ ps.ReturnCode = 0 ps.TimeOut = 5 tr.TimeOut = 5 +# Delay it so the reload can catch up the diff between config files timestamps. +tr.DelayStart = 1 # 8 Test - Cache stale tr = Test.AddTestRun("Cache stale path1") @@ -216,6 +222,8 @@ ps.ReturnCode = 0 ps.TimeOut = 5 tr.TimeOut = 5 +# Delay it so the reload can catch up the diff between config files timestamps. +tr.DelayStart = 1 # 10 Test - Cache stale tr = Test.AddTestRun("Cache stale path1")