Skip to content

Commit 07c2207

Browse files
committed
fix ci add timeout
1 parent 1818fb8 commit 07c2207

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
- name: E2E Test
9999
env:
100100
TDL_TEST_CREDENTIALS_FILE: ${{ github.workspace }}/test/credentials.json
101-
run: ginkgo -v -r ./test
101+
run: ginkgo -v -r --timeout=3m ./test
102102

103103
- name: Comment result on PR
104104
if: github.event_name == 'issue_comment' && always()

test/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
**/*.json

test/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ End-to-end tests for tdl using exported credentials.
77
```bash
88
# 1. Export credentials
99
cd tools
10-
go run export_credentials.go -namespace default -output ../test/test.json
10+
go run export_credentials.go -namespace default -output ../test/credentials.json
1111

1212
# 2. Run tests
1313
cd ..
14-
TDL_TEST_CREDENTIALS_FILE=$(pwd)/test/test.json go test ./test/... -v
14+
TDL_TEST_CREDENTIALS_FILE=$(pwd)/test/credentials.json go test ./test/... -v
1515
```
1616

1717
## GitHub Actions
@@ -23,5 +23,4 @@ E2E tests run via `.github/workflows/e2e.yml`:
2323

2424
## Security
2525

26-
- `test.json` is in `.gitignore`
2726
- Never commit credentials to version control

0 commit comments

Comments
 (0)