mirror of
https://github.com/stakater/Reloader.git
synced 2026-08-23 05:56:30 +00:00
Fix pause deployment test
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
This commit is contained in:
@@ -5046,11 +5046,7 @@ func testPausingDeployment(t *testing.T, reloadStrategy string, testName string,
|
||||
|
||||
logrus.Infof("Verifying deployment has been resumed after pause interval")
|
||||
// This sleep tests the pause functionality - reduce time in fast mode but keep some delay for test stability
|
||||
if testutil.SkipTestSleeps {
|
||||
time.Sleep(100 * time.Millisecond)
|
||||
} else {
|
||||
time.Sleep(11 * time.Second)
|
||||
}
|
||||
time.Sleep(11 * time.Second)
|
||||
items = deploymentFuncs.ItemsFunc(clients, config.Namespace)
|
||||
deploymentPaused, err = isDeploymentPaused(items, testName)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user