Commit 3f4ad4f
mixclient: Fix test timeouts
Tests were timing out due to mixpool checks that require KEs to not be
received too early for their stated epochs. To speed tests up, the
mixclient's internal epoch ticker is manually ticked by the testing code, but
this was causing test runs where KE messages were being rejected by mixpool,
with the tests never completing and eventually timing out.
Using the current time as the epoch whenever the internal epoch ticker is
manually ticked by tests resolves the issue and allows all tests to pass.
Timeouts spotted by @jholdstock.1 parent 2aef5d4 commit 3f4ad4f
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
643 | 643 | | |
644 | 644 | | |
645 | 645 | | |
646 | | - | |
| 646 | + | |
647 | 647 | | |
648 | 648 | | |
649 | 649 | | |
| |||
0 commit comments