This is an automated email from the ASF dual-hosted git repository.
AlinsRan pushed a commit to branch feat/webhook-adc-validation
in repository https://gitbox.apache.org/repos/asf/apisix-ingress-controller.git
The following commit(s) were added to refs/heads/feat/webhook-adc-validation by
this push:
new e90710eb fix: defer dashboard readiness checks in e2e
e90710eb is described below
commit e90710ebe08284db280849485cb214131ecb6619
Author: rongxin <[email protected]>
AuthorDate: Mon Apr 27 18:18:44 2026 +0800
fix: defer dashboard readiness checks in e2e
Co-authored-by: Copilot <[email protected]>
---
test/e2e/framework/api7_framework.go | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/test/e2e/framework/api7_framework.go
b/test/e2e/framework/api7_framework.go
index d493c506..b0beb521 100644
--- a/test/e2e/framework/api7_framework.go
+++ b/test/e2e/framework/api7_framework.go
@@ -70,7 +70,10 @@ func (f *Framework) BeforeSuite() {
f.DeployComponents()
time.Sleep(1 * time.Minute)
- err := f.newDashboardTunnel()
+ err := f.ensureServiceWithTimeout("api7ee3-dashboard", _namespace, 1,
300)
+ Expect(err).ShouldNot(HaveOccurred(), "ensuring dashboard service")
+
+ err = f.newDashboardTunnel()
f.Logf("Dashboard HTTP Tunnel:" + _dashboardHTTPTunnel.Endpoint())
Expect(err).ShouldNot(HaveOccurred(), "creating dashboard tunnel")
@@ -150,7 +153,7 @@ func (f *Framework) deploy() {
}
f.GomegaT.Expect(err).ShouldNot(HaveOccurred(), "install dashboard")
- err = f.ensureServiceWithTimeout("api7ee3-dashboard", _namespace, 1,
300)
+ _, err = k8s.GetServiceE(GinkgoT(), f.kubectlOpts, "api7ee3-dashboard")
f.GomegaT.Expect(err).ShouldNot(HaveOccurred(), "ensuring dashboard
service")
err = f.ensureService("api7-postgresql", _namespace, 1)