-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
54687: roachtest: log teardown to different file r=andreimatei a=tbg We perform various operations on teardown which typically produce a few pages of log output (dead nodes, consistency, getting logs, ...). These tend to make the real test failure harder to find, so this commit switches out the loggers before we perform teardown; teardown will log to `teardown.log` instead. The main log (`test.log`) now ends as follows: ``` [...] 09:41:06 allocator.go:315: 0 mis-replicated ranges 09:41:07 test.go:337: test failure: allocator.go:321,test_runner.go:755: boom! 09:41:07 test_runner.go:769: tearing down after failure; see teardown.log ``` Release note: None 54742: kvserver: properly redact the unavailable range message r=knz a=tbg Saw this while investigating #54444. Release note: None 55034: cli/flags: remove `doctor` from the list of timeout-supporting commands r=tbg a=knz Fixes #54931. This was unintentionally added - doctor is not meant to support configurable timeouts (just yet). Release note: None Co-authored-by: Tobias Grieger <tobias.b.grieger@gmail.com> Co-authored-by: Raphael 'kena' Poss <knz@thaumogen.net>
- Loading branch information
Showing
10 changed files
with
88 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,3 +24,6 @@ func init() { | |
} | ||
} | ||
} | ||
|
||
// SafeValue implements redact.SafeValue. | ||
func (WaitPolicy) SafeValue() {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters