@@ -280,20 +280,15 @@ with a given property value. Example: count the number of PODs with a given name
280
280
Hence this additional syntax.
281
281
282
282
``` bash
283
- # Expecting 0 or 1 instance
284
- try " at most <number> times every <number>s \
285
- to find <0 or 1> <resource-type> named '<regular-expression>' \
286
- with '<property-name>' being '<expected-value>'"
287
-
288
- # Expecting more than 1 instance
283
+ # Expecting a given number of instances
289
284
try " at most <number> times every <number>s \
290
285
to find <number> <resource-type> named '<regular-expression>' \
291
286
with '<property-name>' being '<expected-value>'"
292
287
```
293
288
294
289
This is a checking loop.
295
290
It breaks the loop if as soon as the assertion is verified. If it reaches the end of the loop
296
- with having been verified, an error is thrown. Please, refer to [ this section] ( #property-names ) for details
291
+ without having been verified, an error is thrown. Please, refer to [ this section] ( #property-names ) for details
297
292
about the property names.
298
293
299
294
This assertion is useful for PODs, whose life cycle changes take time.
@@ -318,7 +313,7 @@ try "at most <number> times every <number>s \
318
313
319
314
This is a checking loop.
320
315
It breaks the loop if as soon as the assertion is verified. If it reaches the end of the loop
321
- with having been verified, an error is thrown. Please, refer to [ this section] ( #property-names ) for details
316
+ without having been verified, an error is thrown. Please, refer to [ this section] ( #property-names ) for details
322
317
about the property names.
323
318
324
319
This assertion verifies all the instances have this property value.
0 commit comments