The test is timing out in some passthroughs. The test resets the base collection for each test scenario, but it does not need to drop the collection. It suffices to delete the documents.
Locally, in the sharded_collections_jscore_passthrough_with_config_transitions_and_add_remove_shard passthrough, this roughly halves the test's execution time.
248.50s user 10.97s system 248% cpu 1:44.33 total 247.91s user 10.76s system 234% cpu 1:50.46 total
129.74s user 5.32s system 232% cpu 58.006 total 136.76s user 5.76s system 228% cpu 1:02.43 total