mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-21 17:34:31 +00:00
Merge pull request #11444 from microsoft/danmihai1/k8s-policy-rc
tests: k8s-policy-rc: print pod descriptions
This commit is contained in:
commit
89dcc8fb27
@ -67,7 +67,7 @@ test_rc_policy() {
|
|||||||
# Wait for all the expected pods to be created.
|
# Wait for all the expected pods to be created.
|
||||||
local pod_creation_sleep="10"
|
local pod_creation_sleep="10"
|
||||||
local count=0
|
local count=0
|
||||||
local launched_pods=()
|
launched_pods=()
|
||||||
while [ $count -lt 6 ] && [ "${#launched_pods[@]}" -ne "${number_of_replicas}" ]; do
|
while [ $count -lt 6 ] && [ "${#launched_pods[@]}" -ne "${number_of_replicas}" ]; do
|
||||||
bats_unbuffered_info "sleep count=${count}, launched ${#launched_pods[@]} pods, sleeping ${pod_creation_sleep}..."
|
bats_unbuffered_info "sleep count=${count}, launched ${#launched_pods[@]} pods, sleeping ${pod_creation_sleep}..."
|
||||||
sleep "${pod_creation_sleep}"
|
sleep "${pod_creation_sleep}"
|
||||||
|
Loading…
Reference in New Issue
Block a user