[SERVER-35203] Unittests accept --logLevel Created: 24/May/18 Updated: 29/Oct/23 Resolved: 22/Aug/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.3 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Kevin Pulo | Assignee: | Jonathan Abrahams |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | tig-qwin-eligible, tig-unittests | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Backport Requested: |
v4.0
|
||||||||||||||||||||
| Sprint: | TIG 2018-08-27 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Story Points: | 1 | ||||||||||||||||||||
| Description |
|
It might be nice to add an optional --logLevel=<int> parameter to unittest_main, so that when locally debugging unittest failures it's possible to ramp up any debugging log output from the main code that's called by the tests. |
| Comments |
| Comment by Jonathan Abrahams [ 22/Aug/18 ] | ||||||||||||
|
Might be worthwhile to backport to just 4.0 | ||||||||||||
| Comment by Githook User [ 22/Aug/18 ] | ||||||||||||
|
Author: {'name': 'Jonathan Abrahams', 'email': 'jonathan@mongodb.com', 'username': 'hptabster'}Message: | ||||||||||||
| Comment by Max Hirschhorn [ 27/May/18 ] | ||||||||||||
|
I think we should use --verbose rather than --logLevel to be consistent with the server.
is what we do in mongobridge already. Something similar could probably be added to unittest_main.cpp. |