summaryrefslogtreecommitdiff
path: root/plugins/http/tests/http_test.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-11-26 12:13:53 +0300
committerValery Piashchynski <[email protected]>2020-11-26 12:13:53 +0300
commit073683ebe27131cf8371decdfe309264b8ea2ad6 (patch)
tree4d5d7c114dbd1bda9a5b68f0fd1ee32b74de8906 /plugins/http/tests/http_test.go
parentb6ade6e91e58f14c874c450201b821a048d4950d (diff)
Truncate stderr before write, http_reset test config update
Diffstat (limited to 'plugins/http/tests/http_test.go')
-rw-r--r--plugins/http/tests/http_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/http/tests/http_test.go b/plugins/http/tests/http_test.go
index 2c380bf7..28461950 100644
--- a/plugins/http/tests/http_test.go
+++ b/plugins/http/tests/http_test.go
@@ -107,7 +107,7 @@ func TestHTTPInformerReset(t *testing.T) {
assert.NoError(t, err)
cfg := &config.Viper{
- Path: "configs/.rr-http.yaml",
+ Path: "configs/.rr-resetter.yaml",
Prefix: "rr",
}
@@ -219,7 +219,7 @@ func informerTest(t *testing.T) {
err = client.Call("informer.Workers", "http", &list)
assert.NoError(t, err)
- assert.Len(t, list.Workers, 12)
+ assert.Len(t, list.Workers, 4)
}
func TestSSL(t *testing.T) {