-
Notifications
You must be signed in to change notification settings - Fork 489
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
Fix running of auth tests #1227
Conversation
This is the output without this PR. Note the |
Looks like #1220 has a similar fix, but doesn't change |
/run-all-tests |
Changed |
@@ -1 +1,14 @@ | |||
#!/bin/sh | |||
|
|||
# If 'check.TestingT' is not used in any of the *_test.go files in a subdir no tests will run. |
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.
Thanks! Let's run this check in the make test
of Makefile.
This is included in #1232 already? |
What problem does this PR solve?
The tests in
auth/auth_test.go
were not run.To see the issue modify
auth/auth_test.go
to make a test case that should fail. Then runmake test
. The expected outcome is a failed test run, but in fact it doesn't show any errors.What is changed and how it works?
check.TestingT()
toauth/auth_test.go
test.sh
to test for similar cases.Check List
Tests