Fix flaky e2e test TestTaskRunPipelineRunCancel #511
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/bug
Categorizes issue or PR as related to a bug.
Expected Behavior
TestTaskRunPipelineRunCancel
e2e test should not be flaky.Actual Behavior
TestTaskRunPipelineRunCancel
fails lot more often on PR submissionexample: https://gubernator.knative.dev/build/knative-prow/pr-logs/pull/knative_build-pipeline/493/pull-knative-build-pipeline-integration-tests/1096429645164711938/
Changes in the PR were adding yaml test so go e2e tests were unaffected so expected them not to fail.
Steps to Reproduce the Problem
Additional Info
From the logs it appears that pipeline and taskrun is expected to be in
Cancelled
state but the taskrun hasn't been cancelled yet. It might be an issue of just waiting for state to transition.The text was updated successfully, but these errors were encountered: