The resharding_disallow_drop.js test intends to wait for resharding to first acquire the db and collection distLocks here, and then attempt to drop the collection, which should fail with MaxTimeMSExpired because the distLocks are held by the resharding operation.
However, the awaitReshardingStarted function does not guarantee that the resharding operation has acquired the distLocks. It only guarantees that the resharding command started.