-
Type: New Feature
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
None
-
Fully Compatible
-
Sharding 7 08/10/15, Sharding 8 08/28/15, Sharding 9 (09/18/15), Sharding A (10/09/15)
When testing shell code that uses print() to output, it's necessary to use a fake print() function that captures what would otherwise be output (so that it can be checked).
SERVER-18796 introduces a printShardingStatus jstest which has a print.captureAllOutput() function to do this generally. jstests/auth/show_log_auth.js also does something similar.
- related to
-
SERVER-18796 printShardingStatus/sh.status doesn't show sharded collections which have no "dropped" field
- Closed