Skip to content

Commit

Permalink
tests: Wait for stabilization after deployment
Browse files Browse the repository at this point in the history
the operator reinstall test only installs the runtime and finishes. This
can cause issues in consequent tests or in cleanup as was observed in
the CI (hang in cleanup after quick deployment).

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
  • Loading branch information
ldoktor committed Jan 7, 2025
1 parent e7d4946 commit 3bc09dc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/e2e/operator_tests.bats
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ systemctl is-active "$container_runtime"
! is_operator_installed

"${BATS_TEST_DIRNAME}/operator.sh" install

# Wait for the deployment to be stable
"${BATS_TEST_DIRNAME}/operator.sh" wait_for_stabilization
}

teardown() {
Expand Down

0 comments on commit 3bc09dc

Please sign in to comment.