mirror of
https://github.com/tektoncd/catalog.git
synced 2024-11-24 06:15:46 +00:00
67612fa4f6
Immediately after our test runner submits test TaskRuns / PipelineRuns it checks that those Runs appear in `kubectl get` output. In a recent PR to add a kythe-go Task (#301) the test runner would fail at this point. Checking locally I was able to reproduce the issue. It looks like it can take a small amount of time for submitted resources to show up in `kubectl get` output. For other types of test failures the test runner gives a grace period of up to ten minutes. I did the same for the `kubectl get` check, allowing the test run loop to run again in ten seconds if nothing appears in a taskrun / pipelinerun list. Making that change resulted in the kythe-go test proceeding normally and passing. This commit updates the test runner to repeatedly check whether TaskRuns / PipelineRuns have appeared in the `kubectl get` output. |
||
---|---|---|
.. | ||
e2e-common.sh | ||
e2e-tests.sh | ||
integration_test.go | ||
presubmit-tests.sh |