You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running madsim tests with cargo-nextest, it is possible that madsim tests may be canceled by cargo-nextest due to timeouts. In such cases, the seed generated by madsim cannot be retrieved. How should this issue be resolved? Would adding an function hook on kill, like issue #6 , solve the problem?
The text was updated successfully, but these errors were encountered:
I think the function hook mentioned in #6 is not exactly what you want. #6 discussed how to do clean up when the simulated node is restarted. But now we are talking about the moment when the entire simulation is killed.
A simple solution I can think of is to print the seed at the beginning of each test.
When running madsim tests with cargo-nextest, it is possible that madsim tests may be canceled by cargo-nextest due to timeouts. In such cases, the seed generated by madsim cannot be retrieved. How should this issue be resolved? Would adding an function hook on kill, like issue #6 , solve the problem?
The text was updated successfully, but these errors were encountered: