Skip to content

Commit

Permalink
chore: switch HTTP 100 test case values (#10858)
Browse files Browse the repository at this point in the history
  • Loading branch information
powersj authored Mar 24, 2022
1 parent c2277fa commit e4b9924
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/outputs/http/http_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ func TestStatusCode(t *testing.T) {
plugin: &HTTP{
URL: u.String(),
},
statusCode: 103,
statusCode: http.StatusSwitchingProtocols,
errFunc: func(t *testing.T, err error) {
require.Error(t, err)
},
Expand Down
2 changes: 1 addition & 1 deletion plugins/outputs/loki/loki_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func TestStatusCode(t *testing.T) {
plugin: &Loki{
Domain: u.String(),
},
statusCode: 103,
statusCode: http.StatusSwitchingProtocols,
errFunc: func(t *testing.T, err error) {
require.Error(t, err)
},
Expand Down

0 comments on commit e4b9924

Please sign in to comment.