The reshardingPauseCoordinatorBeforeBlockingWrites failpoint managed by the ReshardingTest fixture is unset by the time the abortReshardCollection command is run by the parallel shell. The lack of synchronization in the test permits the ReshardingCoordinator to accidentally commit the resharding operation before the abortReshardCollection command is actually processed.
[js_test:resharding_coordinator_recovers_abort_decision] c20526| 2022-05-11T11:15:45.248+00:00 I RESHARD 5343001 [ReshardingCoordinatorService-3] "Transitioned resharding coordinator state","attr":{"newState":"committing","oldState":"blocking-writes","namespace":"reshardingDb.coll","collectionUUID":{"uuid":{"$uuid":"0ddedc31-d4f6-4185-ac4e-b260b9d6b305"}},"reshardingUUID":{"uuid":{"$uuid":"a4584faa-5ef3-4e69-88b8-cb2d78d0f6d7"}}} ... [js_test:resharding_coordinator_recovers_abort_decision] s20529| 2022-05-11T11:15:47.601+00:00 I COMMAND 51803 [conn35] "Slow query","attr":{"type":"command","ns":"reshardingDb.coll","appName":"MongoDB Shell","command":{"abortReshardCollection":"reshardingDb.coll","lsid":{"id":{"$uuid":"d7a45c69-044f-4776-869b-033474386570"}},"$clusterTime":{"clusterTime":{"$timestamp":{"t":1652267742,"i":1}},"signature":{"hash":{"$binary":{"base64":"AAAAAAAAAAAAAAAAAAAAAAAAAAA=","subType":"0"}},"keyId":0}},"$db":"admin"},"numYields":0,"ok":0,"errMsg":"Could not find resharding-related metadata that matches the given namespace","errName":"NoSuchReshardCollection","errCode":339,"reslen":299,"readConcern":{"level":"local","provenance":"implicitDefault"},"remote":"127.0.0.1:35324","protocol":"op_msg","durationMillis":22}