Skip to content
Snippets Groups Projects

[SimpleDiskAndNetworkTest] don't terminate the Runtime during the test

Merged Florian Fischer requested to merge aj46ezos/emper:fix-SimpleDiskAndNetworkTest into master

Before 05dc56ed the two test cases testDiskAndNetwork, testIov where combined in one function which was terminating the runtime after the client closed its socketafter the test was done. This was already broken before 05dc56ed but after the separation of the two use cases the race between the Runtime terminating and the execution of the last parts of the test-runner's alphaFiber became bigger.

When the Runtime terminates because the last worker running the testIoV code has outstanding IO the test-runner's successSem is never notified.

Fixes #25 (closed). Makes !259 (closed) obsolete.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading