-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make mysql-tester less verbose/confusing #46
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The -log-level
option seems to be broken. Please apply this patch to fix it:
diff --git a/src/main.go b/src/main.go
index e78f3f6..ff76737 100644
--- a/src/main.go
+++ b/src/main.go
@@ -1010,6 +1010,11 @@ func consumeError() []error {
func main() {
flag.Parse()
tests := flag.Args()
+ intLogLevel, err := log.ParseLevel(logLevel)
+ if err != nil {
+ log.Fatal(err)
+ }
+ log.SetLevel(intLogLevel)
// we will run all tests if no tests assigned
if len(tests) == 0 {
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - I don't have merge privileges on this repo though
@mjonss could you fix the conflict? |
@mjonss what are your plans with this PR? |
close: #45
Decrease the number of lines of succeeded tests by 2/3.
Changed Warn -> Debug: about creating a new db for the test
Changed Info -> Debug: test OK (already a print out-put with OK + number of test cases + time)
From something like:
to:
Also made
make test
succeed.