[SERVER-65272] Fix jscore tests to work with multiple mongos Created: 05/Apr/22  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Huayu Ouyang Assignee: Backlog - Replication Team
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Assigned Teams:
Replication
Sprint: Repl 2022-05-16, Repl 2022-05-30, Repl 2022-06-13, Repl 2022-06-27, Repl 2022-07-11, Repl 2022-08-08, Repl 2022-08-22, Repl 2022-09-05, Repl 2022-09-19, Repl 2022-07-25
Participants:

 Description   

shell_connection_string.js, bench_test2.js, and benchrun_pipeline_updates.js call db.getMongo().host which doesn't work if the test fixture is using multiple mongos. It fails with this error message:

[js_test:shell_connection_strings] Error: invalid url [localhost:20255,localhost:20256] :
[js_test:shell_connection_strings] @jstests/core/shell_connection_strings.js:8:16
[js_test:shell_connection_strings] @jstests/core/shell_connection_strings.js:35:3
[js_test:shell_connection_strings] failed to load: jstests/core/shell_connection_strings.js

This is needed to enable these tests in ctc_multi_replicator_sharded_collections_jscore_passthrough (in the mongosync repo) since that passthrough suite uses 2 mongos



 Comments   
Comment by Jason Chan [ 17/May/22 ]

Removing this from REP-32 because we don't think these tests add much value in terms of C2C test coverage.

Generated at Thu Feb 08 06:02:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.