Repository navigation
Commit cbc35fb
fix(test): wait for ConfigMaps before updating them in MultipleSecondaryEventSourceIT (#3739)
The initial await used `getNumberOfExecutions() <= 3`, which already
holds while the reconciler has not run at all, so it only ever waited
for the 300ms poll delay. On a slow runner the first reconciliation had
not created the ConfigMaps yet, and updateConfigMap failed with a
NullPointerException on the missing ConfigMap. Wait until both
ConfigMaps exist before taking the baseline execution count.
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>1 parent 2654109 commit cbc35fb
1 file changed
Lines changed: 16 additions & 0 deletions
File tree
- operator-framework/src/test/java/io/javaoperatorsdk/operator/baseapi/multiplesecondaryeventsource
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
57 | 73 | | |
58 | 74 | | |
59 | 75 | | |
| |||
0 commit comments