Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
Fully Compatible
-
ALL
-
Sharding 2020-04-20, Sharding 2020-05-04, Sharding 2020-05-18, Sharding 2020-06-01, Sharding 2020-06-15, Sharding 2020-06-29
-
35
Description
The assert.soon tries to dump the contents of the collection, but string message is constructed when the assert.soon is called, not when it timed out. It should be using a function call back to return a string instead:
https://github.com/mongodb/mongo/blob/r4.3.2/jstests/noPassthroughWithMongod/ttl_sharded.js#L46