[SERVER-27599] Sharding tests should not rely on the order of entries returned when querying the config.shards collection Created: 06/Jan/17  Updated: 23/Aug/18  Resolved: 11/Apr/17

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 3.4.17, 3.5.6

Type: Improvement Priority: Major - P3
Reporter: Dianna Hohensee (Inactive) Assignee: Dianna Hohensee (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
is related to SERVER-23316 Sharding tests should not rely on the... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.4
Sprint: Sharding 2017-04-17
Participants:
Linked BF Score: 0

 Description   

We had SERVER-23316 for this previously, but it is closed and only addressed tests as they failed.

This failures pops up now and then on different tests. This ticket is to address all the JS tests at once, before they fail. Backport to v3.4 should be pretty easy since we just branched recently, so we should do it.

Failures have occurred on 3.5, 3.4, 3.2, 3.0.



 Comments   
Comment by Githook User [ 23/Aug/18 ]

Author:

{'name': 'Dianna Hohensee', 'email': 'dianna.hohensee@10gen.com', 'username': 'DiannaHohensee'}

Message: SERVER-27599 replace unpredictable unordered config.shards queries with shard accesses through ShardingTest

(cherry picked from commit 12eeaae612b9957c136ebbe23756fba2959946e9)
Branch: v3.4
https://github.com/mongodb/mongo/commit/86f124990357a80e8ddc2597022939240fb034f7

Comment by Githook User [ 11/Apr/17 ]

Author:

{u'username': u'DiannaHohensee', u'name': u'Dianna Hohensee', u'email': u'dianna.hohensee@10gen.com'}

Message: SERVER-27599 replace unpredictable unordered config.shards queries with shard accesses through ShardingTest
Branch: master
https://github.com/mongodb/mongo/commit/12eeaae612b9957c136ebbe23756fba2959946e9

Generated at Thu Feb 08 04:15:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.