[SERVER-26522] CleanEveryN output should be written to logkeeper Created: 07/Oct/16  Updated: 20/Jun/17  Resolved: 10/Jan/17

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

Type: Improvement Priority: Major - P3
Reporter: Judah Schvimer Assignee: Judah Schvimer
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
related to SERVER-27524 Add log message at the beginning and ... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.4
Participants:

 Description   

If CleanEveryN fails, such as on fixture teardown, the failure is reported in the test that preceded it rather than in the hook because CleanEveryN is not considered an actual test. This makes finding errors in the logs more difficult. Example:
https://evergreen.mongodb.com/task/mongodb_mongo_master_enterprise_rhel_62_64_bit_jsCore_small_oplog_rs_initsync_956103c27c7f17b850e2cde2738a0eb1f46bcffb_16_10_07_15_00_36



 Comments   
Comment by Githook User [ 06/Mar/17 ]

Author:

{u'username': u'judahschvimer', u'name': u'Judah Schvimer', u'email': u'judah@mongodb.com'}

Message: SERVER-26522 Made CleanEveryN into a TestCase

(cherry picked from commit 585a8a9cb81be45a5f3264a9ac60636ea1609cbc)
Branch: v3.4
https://github.com/mongodb/mongo/commit/41b04b346a3c41facb814ebc7d6db570251a07d8

Comment by Githook User [ 10/Jan/17 ]

Author:

{u'username': u'judahschvimer', u'name': u'Judah Schvimer', u'email': u'judah@mongodb.com'}

Message: SERVER-26522 Made CleanEveryN into a TestCase
Branch: master
https://github.com/mongodb/mongo/commit/585a8a9cb81be45a5f3264a9ac60636ea1609cbc

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