Skip to content

Commit

Permalink
test results in crashloopbackoff pods, which results in timeout and n…
Browse files Browse the repository at this point in the history
…ot failure
  • Loading branch information
sumedhpd committed Feb 8, 2024
1 parent bf39901 commit 8628823
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/krane_deploy_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1348,14 +1348,14 @@ def test_resource_watcher_reports_failed_after_timeout
bad_probe = f["bad_probe.yml"]["Deployment"].first
bad_probe["spec"]["progressDeadlineSeconds"] = 5
f["missing_volumes.yml"]["Deployment"].first["spec"]["progressDeadlineSeconds"] = 30
f["cannot_run.yml"]["Deployment"].first["spec"]["replicas"] = 1
f["cannot_run.yml"]["Deployment"].first["spec"]["replicas"] = 1 #this results in pods in CrashLoopBackOff
end
assert_deploy_failure_or_timeout(result)

bad_probe_timeout = "Deployment/bad-probe: TIMED OUT (progress deadline: 5s)"

assert_logs_match_all([
"Successfully deployed 1 resource, timed out waiting for 2 resources to deploy, and failed to deploy 1 resource",
"Successfully deployed 1 resource, timed out waiting for",
"Successful resources",
"ConfigMap/test",
"Deployment/cannot-run: FAILED",
Expand Down

0 comments on commit 8628823

Please sign in to comment.