Skip to content

Commit 684b33c

Browse files
authored
fix(tests): fix jsonschema-validator test (#271)
1 parent cf9514f commit 684b33c

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

test/plugins/jsonschema_validator_test.go

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,10 @@ var _ = Describe("jsonschema-validator", Ordered, func() {
6969
db = helper.InitDB(true, &entitiesConfig)
7070
proxyClient = helper.ProxyClient()
7171

72-
app = utils.Must(helper.Start(map[string]string{
73-
"WEBHOOKX_ADMIN_LISTEN": "0.0.0.0:8080",
74-
"WEBHOOKX_PROXY_LISTEN": "0.0.0.0:8081",
75-
"WEBHOOKX_WORKER_ENABLED": "true",
76-
}))
72+
app = utils.Must(helper.Start(map[string]string{}))
73+
74+
err := helper.WaitForServer(helper.ProxyHttpURL, time.Second)
75+
assert.NoError(GinkgoT(), err)
7776
})
7877

7978
AfterAll(func() {

0 commit comments

Comments
 (0)