1
0
mirror of https://github.com/tektoncd/catalog.git synced 2024-11-24 06:15:46 +00:00
catalog/test
Scott 67612fa4f6 Give test Runs time to appear in kubectl get lists
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.
2020-05-07 10:06:36 +01:00
..
e2e-common.sh Give test Runs time to appear in kubectl get lists 2020-05-07 10:06:36 +01:00
e2e-tests.sh Add -x to be able to debug what is happening 2020-03-23 08:11:52 -05:00
integration_test.go Add the required boilerplate to run presubmit tests in prow. 2019-05-13 11:12:56 -05:00
presubmit-tests.sh Temporarly disable yamllint 😓 2020-04-09 16:47:02 +01:00