From 162c5c00f925cfae385327d3bb4648451a5d09a0 Mon Sep 17 00:00:00 2001 From: Douglas-Lee Date: Fri, 14 Nov 2025 16:40:25 +0800 Subject: [PATCH] fix(tests): fix jsonschema-validator test --- test/plugins/jsonschema_validator_test.go | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/test/plugins/jsonschema_validator_test.go b/test/plugins/jsonschema_validator_test.go index fc089003..ec0582b0 100644 --- a/test/plugins/jsonschema_validator_test.go +++ b/test/plugins/jsonschema_validator_test.go @@ -69,11 +69,10 @@ var _ = Describe("jsonschema-validator", Ordered, func() { db = helper.InitDB(true, &entitiesConfig) proxyClient = helper.ProxyClient() - app = utils.Must(helper.Start(map[string]string{ - "WEBHOOKX_ADMIN_LISTEN": "0.0.0.0:8080", - "WEBHOOKX_PROXY_LISTEN": "0.0.0.0:8081", - "WEBHOOKX_WORKER_ENABLED": "true", - })) + app = utils.Must(helper.Start(map[string]string{})) + + err := helper.WaitForServer(helper.ProxyHttpURL, time.Second) + assert.NoError(GinkgoT(), err) }) AfterAll(func() {