Skip to content

Commit 00c677b

Browse files
validate e2e tests before commit; fix e2e tests
Signed-off-by: Venkata Bhaskaram Varanasi <[email protected]>
1 parent 8b60bc0 commit 00c677b

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/go-build.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ jobs:
1818
go-version: '1.22.x'
1919
- name: Check out repository code
2020
uses: actions/checkout@v4
21-
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
22-
- name: List files in the repository
23-
run: |
24-
ls ${{ github.workspace }}
2521
- name: Run tests
2622
run: go test -v -race ./...
2723
- name: Print diff
@@ -30,4 +26,5 @@ jobs:
3026
run: go vet ./...
3127
- name: Go build
3228
run: go build -v -race ./...
33-
- run: echo "🍏 This job's status is ${{ job.status }}."
29+
- name: Build check e2e tests
30+
run: go test -c -tags=e2e ./test/e2e

test/e2e/framework/framework.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ func setup(stopCh <-chan struct{}) error {
110110
}
111111
adminDomain := ""
112112
systemNS := []string{}
113-
domainUtil := util.NewUtil(adminDomain, systemNS)
113+
excludedNS := []string{}
114+
domainUtil := util.NewUtil(adminDomain, systemNS, excludedNS)
114115

115116
Global = &Framework{
116117
K8sClient: k8sclient,

0 commit comments

Comments
 (0)