Integration test container should have a wait condition #1086
Labels
area/ci
area/integration-tests
Enhancement or issue related to the devfile integration tests
area/registry
Devfile registry for stacks and infrastructure
kind/bug
Something isn't working
Which area this feature is related to?
/kind bug
Which area this bug is related to?
/area ci
/area registry
/area integration-tests
What versions of software are you using?
Go project
Operating System and version: N/A
Go Pkg Version: 1.18
Bug Summary
Describe the bug:
The acceptance tests after staging is deployed are failing due to the tests running before the registry viewer container is ready (could take up to the timeout time of
20
seconds). The default run command for the integration test container performs the tests without waiting for the tied devfile registry deployment to enter the available state.To Reproduce:
Any triggering of staging at this point could lead to the acceptance tests executing before the devfile registry deployment is available to be tested on.
Expected behavior
Any logs, error output, screenshots etc? Provide the devfile that sees this bug, if applicable
Additional context
Any workaround?
No workaround can be done for this issue.
Suggestion on how to fix the bug
The entrypoint for the integration testsDockerfile
needs to be modified to allow the specification of a wait condition and timeout.Registry health check probing would ensure target registry is ready before running tests.
Target Date: 04-03-2023
The text was updated successfully, but these errors were encountered: