forked from scylladb/scylla-cluster-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We use kubectl wait to wait till all resources get into proper state there are two problems with this: 1. kubectl wait fails when no resource matched criteria 2. if resources are provisioned gradually, kubectl wait can slip thrue crack when half of the resource provisioned and the rest is not even deployed At some places in sct we use sleeps to tackle scylladb#1, which leads to failures on slow PC This PR is to address this problem by wrapping kubectl wait and make it restarted when no resource are there and track number of resources it reported and wait+rerun if resource number had changed.
- Loading branch information
1 parent
012fdbd
commit e85d19b
Showing
1 changed file
with
40 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters