-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add some integration tests #520
Conversation
qiwzhang
commented
Sep 30, 2017
- Test Mixer return INTERNAL error, with fail_close and fail_open policy
- Test adding fault http filter after mixer filter to make sure Check and Report are called.
Jenkins job proxy/presubmit passed |
@@ -32,7 +32,7 @@ func TestFailClose(t *testing.T) { | |||
|
|||
url := fmt.Sprintf("http://localhost:%d/echo", ClientProxyPort) | |||
|
|||
tag := "Fail-Open" | |||
tag := "Fail-CLOSE" |
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.
Fail-Close
?
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.
Done
t *testing.T | ||
conf string | ||
stress bool | ||
fault_inject bool |
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.
nit: faultInject
and noMixer
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.
Done
Jenkins job proxy/presubmit passed |
Jenkins job proxy/pilot-regression passed |