Skip to content

Commit 826dce4

Browse files
committed
chore
1 parent cd8387d commit 826dce4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/e2e-test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,5 @@ jobs:
8080
shell: bash
8181
env:
8282
API7_EE_LICENSE: ${{ secrets.API7_EE_LICENSE }}
83-
TSET_ENV: CI
8483
run: |
8584
make e2e-test

test/e2e/scaffold/scaffold.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ func (s *Scaffold) afterEach() {
452452
s.DeleteGatewayGroup(s.gatewaygroupid)
453453

454454
if CurrentSpecReport().Failed() {
455-
if os.Getenv("TSET_ENV") == "CI" {
455+
if os.Getenv("TEST_ENV") == "CI" {
456456
_, _ = fmt.Fprintln(GinkgoWriter, "Dumping namespace contents")
457457
_, _ = k8s.RunKubectlAndGetOutputE(GinkgoT(), s.kubectlOptions, "get", "deploy,sts,svc,pods,gatewayproxy")
458458
_, _ = k8s.RunKubectlAndGetOutputE(GinkgoT(), s.kubectlOptions, "describe", "pods")
@@ -463,6 +463,7 @@ func (s *Scaffold) afterEach() {
463463
if output != "" {
464464
_, _ = fmt.Fprintln(GinkgoWriter, output)
465465
}
466+
return
466467
}
467468

468469
// if the test case is successful, just delete namespace

0 commit comments

Comments
 (0)