File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,8 @@ os::cmd::try_until_text 'oc get appliedclusterresourcequota -n quota-asmail --as
32
32
# the point of the test is to make sure that clusterquota is counting correct and secrets are auto-created and countable
33
33
# the create_dockercfg controller can issue multiple creates if the token controller doesn't fill them in, but the creates are duplicates
34
34
# since an annotation tracks the intended secrets to be created. That results in multi-counting quota until reconciliation runs
35
- os::cmd::try_until_text ' oc get secrets -o name --all-namespaces; oc describe appliedclusterresourcequota/for-deads-by-annotation -n quota-bar --as deads' " secrets.*(1[0-9]|20|21|22)"
35
+ # do not go past 26. If you get to 27, you might be selecting an extra namespace.
36
+ os::cmd::try_until_text ' oc get secrets -o name --all-namespaces; oc describe appliedclusterresourcequota/for-deads-by-annotation -n quota-bar --as deads' " secrets.*(1[0-9]|20|21|22|23|24|25|26)"
36
37
os::cmd::expect_success ' oc delete project quota-foo'
37
38
os::cmd::try_until_not_text ' oc get clusterresourcequota/for-deads-by-annotation -o jsonpath="{.status.namespaces[*].namespace}"' ' quota-foo'
38
39
os::cmd::expect_success ' oc delete project quota-bar'
You can’t perform that action at this time.
0 commit comments