-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Catalog and Routing
-
Fully Compatible
-
CAR Team 2024-10-28, CAR Team 2024-11-11
-
200
-
1
SERVER-95628 changed rawMongoProgramOutput to throw an exception when more than 16MB of logs are matched. This is necessary because if the matched lines can't fit in a single BSON object, they can't be passed in as argument to this function.
Purpose of this ticket is to review rawMongoProgramOutput's usages in the catalog and routing tests using the helper:
- jstests/sharding/set_fcv_logging.js
- jstests/sharding/shard_identity_rollback.js
- jstests/sharding/time_zone_info_mongos.js
We should narrow down the number of matched lines in order to be fairly sure not to overpass the 16MB limit.
E.g. this line should change as follows:
- FROM
assert.neq(-1, rawMongoProgramOutput(".*").search(/Fatal assertion.*40475/));
- TO
assert.neq(-1, rawMongoProgramOutput("Fatal assertion.").search(/40475/));
- related to
-
SERVER-95628 Using rawMongoProgramOutput in tests has proven to be flaky
- Closed