Commit 4b85297
committed
Make maint-notification scenario tests generic; drop ASM-specific client code
The fault injector now owns the ASM/reshard logic behind the SLOT_MIGRATE_ASM toggle,
so the client no longer needs ASM-specific handling:
- Remove the AsmTriggers enum and the include_asm threading (fault_injector_client.py,
maint_notifications_helpers.py); GET /slot-migrate returns whatever the FI toggle decides.
- Delete TestClusterClientPushNotificationsWithAsmEffectTrigger, _asm_params, the ASM_*
timeouts, and the node-cache "drain until settled" loop.
- Add a generic add (+1) cluster test mirroring the remove (-1) test.
Pointed at an FI with SLOT_MIGRATE_ASM=on, the generic cluster tests exercise the
reshard/ASM path with zero client changes (verified live: slot-shuffle + add).1 parent 1cb947c commit 4b85297
3 files changed
Lines changed: 108 additions & 246 deletions
File tree
- tests/test_scenario
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | 52 | | |
66 | 53 | | |
67 | 54 | | |
| |||
134 | 121 | | |
135 | 122 | | |
136 | 123 | | |
137 | | - | |
138 | 124 | | |
139 | 125 | | |
140 | 126 | | |
| |||
378 | 364 | | |
379 | 365 | | |
380 | 366 | | |
381 | | - | |
382 | 367 | | |
383 | 368 | | |
384 | 369 | | |
385 | | - | |
386 | | - | |
387 | | - | |
| 370 | + | |
| 371 | + | |
388 | 372 | | |
389 | 373 | | |
390 | | - | |
391 | | - | |
392 | 374 | | |
393 | 375 | | |
394 | 376 | | |
| |||
544 | 526 | | |
545 | 527 | | |
546 | 528 | | |
547 | | - | |
548 | 529 | | |
549 | 530 | | |
550 | 531 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
128 | 127 | | |
129 | 128 | | |
130 | | - | |
| 129 | + | |
131 | 130 | | |
132 | 131 | | |
133 | 132 | | |
| |||
302 | 301 | | |
303 | 302 | | |
304 | 303 | | |
305 | | - | |
306 | 304 | | |
307 | 305 | | |
308 | 306 | | |
309 | 307 | | |
310 | 308 | | |
311 | 309 | | |
312 | 310 | | |
313 | | - | |
314 | | - | |
| 311 | + | |
| 312 | + | |
315 | 313 | | |
316 | 314 | | |
317 | 315 | | |
318 | 316 | | |
319 | 317 | | |
320 | 318 | | |
321 | 319 | | |
322 | | - | |
| 320 | + | |
323 | 321 | | |
324 | 322 | | |
325 | 323 | | |
| |||
0 commit comments