summaryrefslogtreecommitdiff
path: root/tests/plugins/http/http_plugin_test.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-06-26 01:56:23 +0300
committerValery Piashchynski <[email protected]>2021-06-26 01:56:23 +0300
commitf87153d8b89c1b92040fad53b529c740a8f972fc (patch)
treea84bc14b225cdb9e00b3c1ab9553f247cecf731a /tests/plugins/http/http_plugin_test.go
parent7c0b63a9d0cee75e8bdedd2dcd0c20139f3ffd3f (diff)
- Add more tests
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/plugins/http/http_plugin_test.go')
-rw-r--r--tests/plugins/http/http_plugin_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/plugins/http/http_plugin_test.go b/tests/plugins/http/http_plugin_test.go
index fcedb943..c3949911 100644
--- a/tests/plugins/http/http_plugin_test.go
+++ b/tests/plugins/http/http_plugin_test.go
@@ -1481,6 +1481,8 @@ func informerTestAfter(t *testing.T) {
assert.NotZero(t, workerPid)
+ time.Sleep(time.Second * 5)
+
err = client.Call("informer.Workers", "http", &list)
assert.NoError(t, err)
assert.Len(t, list.Workers, 1)