Commit f71a1f9
committed
Loosen the guarantees of this test
This test hits the race condition described in `onClose` a little less
than once in a thousand runs on my machine, so we can't check for the
same level of strict internal consistency between the two data
structures (it's possible for the cache to contain a bitset that isn't
referenced by the keysByIndex structure, and that's okay).1 parent a8ffa25 commit f71a1f9
File tree
1 file changed
+7
-5
lines changed- x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/accesscontrol
1 file changed
+7
-5
lines changedLines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
317 | 321 | | |
318 | 322 | | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
| |||
360 | 360 | | |
361 | 361 | | |
362 | 362 | | |
363 | | - | |
| 363 | + | |
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
| |||
373 | 373 | | |
374 | 374 | | |
375 | 375 | | |
| 376 | + | |
| 377 | + | |
376 | 378 | | |
377 | 379 | | |
378 | 380 | | |
| |||
0 commit comments