diff options
author | Valery Piashchynski <[email protected]> | 2021-04-06 15:15:01 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-04-06 15:15:01 +0300 |
commit | ad8db0ad8907fbc562123b41323b34ec6c0dec9f (patch) | |
tree | 036884e8f37d3c9abe965e487fe2eecef903ccf2 /tests/plugins/status | |
parent | 4e468f900e82c344269be0129624cbfcde706e26 (diff) |
- Add new configuration option to the status plugin
Diffstat (limited to 'tests/plugins/status')
-rw-r--r-- | tests/plugins/status/plugin_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/plugins/status/plugin_test.go b/tests/plugins/status/plugin_test.go index 85e07fcf..663f4ee3 100644 --- a/tests/plugins/status/plugin_test.go +++ b/tests/plugins/status/plugin_test.go @@ -368,8 +368,8 @@ func checkHTTPReadiness2(t *testing.T) { assert.NoError(t, err) b, err := ioutil.ReadAll(r.Body) assert.NoError(t, err) - assert.Equal(t, 200, r.StatusCode) - assert.Equal(t, resp2, string(b)) + assert.Equal(t, 503, r.StatusCode) + assert.Equal(t, "", string(b)) err = r.Body.Close() assert.NoError(t, err) @@ -384,5 +384,5 @@ func checkRPCReadiness(t *testing.T) { err = client.Call("status.Ready", "http", &st) assert.NoError(t, err) - assert.Equal(t, st.Code, 204) + assert.Equal(t, st.Code, 503) } |