Commit d25b9df
Add test proving backoffLimit=-1 (unlimited retries) bug in FlinkStateSnapshot
The default backoffLimit of -1 (documented as "unlimited retries") causes
snapshots to immediately fail after the first error. The check
`failures > backoffLimit` evaluates to `1 > -1` which is always true,
so no retries ever happen with the default configuration.
This test is expected to fail until the bug is fixed.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 2d4c992 commit d25b9df
1 file changed
Lines changed: 19 additions & 0 deletions
File tree
- flink-kubernetes-operator/src/test/java/org/apache/flink/kubernetes/operator/controller
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
153 | 172 | | |
154 | 173 | | |
155 | 174 | | |
| |||
0 commit comments