[SERVER-27766] ReplicaSetTest should use jsTest.name() as the default for the name Created: 20/Jan/17  Updated: 05/Apr/17  Resolved: 24/Jan/17

Status: Closed
Project: Core Server
Component/s: Replication, Testing Infrastructure
Affects Version/s: None
Fix Version/s: 3.5.2

Type: Improvement Priority: Major - P3
Reporter: Mathias Stearn Assignee: Mathias Stearn
Resolution: Done Votes: 0
Labels: tig-mongorunner
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-27647 resmoke should inject test name into ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2017-02-13
Participants:

 Description   

May also want to do this for ShardingTest.



 Comments   
Comment by Githook User [ 24/Jan/17 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: SERVER-27766 Set test names in ShardingTest and ReplicaSetSet automatically
Branch: master
https://github.com/mongodb/mongo/commit/7dd4b02a58c757343e421ed9c04fc6fa20dbfc33

Comment by Mathias Stearn [ 20/Jan/17 ]

kyle.suarez Your cr for SERVER-27641 to take it out of jscore is how I learned of the existence of jsTest.name(). That issue isn't a problem for ReplicaSetTest since I don't think any tests that use it are invoked by the parallel suite.

Comment by Kyle Suarez [ 20/Jan/17 ]

max.hirschhorn pointed out that we could also change parallelTester.js so that it sets TestData.testName for each test that runs in https://github.com/mongodb/mongo/blob/r3.5.1/jstests/libs/parallelTester.js#L277. That way the information will be useful/accurate in the parallel suites.

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