Updated Description:
startParallelShell returns a function that needs to be called to assert the output of the shell. This is not intuitive and error prone. We should be able to enforce that the returned function is called by storing and removing pids in a dict and checking that the dict is empty on shell shutdown.
See impl sketch here: https://github.com/mongodb/mongo/commit/bd70fe9b24fbefbb2d7a483d15a5a7d3a326b315
Original Description:
When executing an asserting function through startParallelShell() , the failure will appear in tests.log as an uncaught exception, but the test will still pass.
- has to be done before
-
SERVER-59686 Investigate failing parallel shell in jstests/sharding/txn_two_phase_commit_coordinator_shutdown_and_restart.js
- Backlog
-
SERVER-59685 Investigate failing parallel shell in rollback index tests
- Closed
-
SERVER-59687 Investigate failing parallel shell in jstests/replsets/rollback_waits_for_bgindex_completion.js
- Closed
-
SERVER-59688 Investigate failing parallel shell in jstests/noPassthrough/index_build_restart_standalone.js
- Closed
- related to
-
SERVER-58325 Failures in txn_two_phase_commit_coordinator_shutdown_and_restart.js may go undetected by resmoke/Evergreen
- Backlog