This repository was archived by the owner on Mar 9, 2026. It is now read-only.
Commit bc85451
authored
test: fix flaky sequencer unit tests (#187)
Patching the client under test should be done on an instance used in
a test, not on the instance's class - patching the latter can cause
all other instances of the same class to share the patched method,
possibly interfering with the patched method's call count.1 parent 6b9eec8 commit bc85451
1 file changed
Lines changed: 2 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
438 | | - | |
439 | | - | |
440 | | - | |
| 438 | + | |
441 | 439 | | |
442 | 440 | | |
443 | 441 | | |
| |||
456 | 454 | | |
457 | 455 | | |
458 | 456 | | |
459 | | - | |
460 | | - | |
461 | | - | |
| 457 | + | |
462 | 458 | | |
463 | 459 | | |
464 | 460 | | |
| |||
0 commit comments