[SERVER-34549] Tests refer to ReplSetTest.kDefaultTimeoutMS, which is undefined Created: 18/Apr/18  Updated: 29/Oct/23  Resolved: 03/May/18

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 3.4.16, 3.6.6, 4.0.0

Type: Task Priority: Major - P3
Reporter: Spencer Brody (Inactive) Assignee: Pavithra Vetriselvan
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Problem/Incident
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.6, v3.4
Sprint: Repl 2018-05-07
Participants:
Linked BF Score: 0

 Description   

Referencing kDefaultTimeoutMS against a ReplSetTest instance works correctly, but referencing it as if it's a static constant does not.

We should either make it so that referencing ReplSetTest.kDefaultTimeoutMS is not undefined, or fix all cases where we do so in tests to get it off of a ReplSetTest instance instead



 Comments   
Comment by Githook User [ 29/Jun/18 ]

Author:

{'username': 'pvselvan', 'name': 'Pavi Vetriselvan', 'email': 'pvselvan@umich.edu'}

Message: SERVER-34549 make kDefaultTimeoutMS a static property of ReplSetTest

(cherry picked from commit b1a7cffd3f151efe4d47864c89cf5c7cf9e884cc)
Branch: v3.6
https://github.com/mongodb/mongo/commit/a8a6d58c59eef1ee58a9fd8e83a51d87ae961f38

Comment by Githook User [ 29/Jun/18 ]

Author:

{'username': 'pvselvan', 'name': 'Pavi Vetriselvan', 'email': 'pvselvan@umich.edu'}

Message: SERVER-34549 make kDefaultTimeoutMS a static property of ReplSetTest

(cherry picked from commit b1a7cffd3f151efe4d47864c89cf5c7cf9e884cc)
Branch: v3.4
https://github.com/mongodb/mongo/commit/6838f0b80639cb3647364570107ffcabe8e95d02

Comment by Githook User [ 03/May/18 ]

Author:

{'email': 'pvselvan@umich.edu', 'name': 'Pavi Vetriselvan', 'username': 'pvselvan'}

Message: SERVER-34549 make kDefaultTimeoutMS a static property of ReplSetTest
Branch: master
https://github.com/mongodb/mongo/commit/b1a7cffd3f151efe4d47864c89cf5c7cf9e884cc

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