[SERVER-43088] Make test suite and logger configuration directories configurable in resmoke Created: 29/Aug/19  Updated: 29/Oct/23  Resolved: 23/Sep/19

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

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

Issue Links:
Problem/Incident
causes SERVER-45217 Allow resmoke logging config outside ... Closed
Related
is related to SERVER-42782 Create self testable distributions wi... Closed
Backwards Compatibility: Fully Compatible
Sprint: Dev Tools 2019-09-09, Dev Tools 2019-09-23, Dev Tools 2019-10-07
Participants:

 Comments   
Comment by Siyuan Zhou [ 18/Dec/19 ]

mathew.robinson, thanks. SERVER-45217 is filed.

Comment by Mathew Robinson (Inactive) [ 15/Dec/19 ]

I would create a separate ticket.

Comment by Siyuan Zhou [ 14/Dec/19 ]

mathew.robinson, after this patch, it seems my separate resmoke logging format stopped working. I used to have a local logging config to give a cleaner output without the prefix test's name. However, this patch seems to require the logging config to be in the resmoke config directory. I'd prefer to keep my local logging config not in the working directory so that git diff doesn't always show it and I won't add it to my patch by accident. Is there a workaround or shall I create a ticket for that?

logging:
  executor:
    format: '[%(name)s] %(asctime)s %(message)s'
    handlers:
      - class: logging.StreamHandler
  fixture:
    format: '[%(name)s] %(message)s'
    handlers:
      - class: logging.StreamHandler
  tests:
    format: '%(message)s'
    handlers:
      - class: logging.StreamHandler

Comment by Githook User [ 23/Sep/19 ]

Author:

{'name': 'Mathew Robinson', 'username': 'chasinglogic', 'email': 'mathew.robinson@mongodb.com'}

Message: SERVER-43088 Make test suite and logger configuration directories configurable in resmoke
Branch: master
https://github.com/mongodb/mongo/commit/e5c1e0b8da0cbc751bd6a9407686241d95b1777f

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