Skip to content

Commit

Permalink
fix(ci): Bump tests timeout to 20m
Browse files Browse the repository at this point in the history
Signed-off-by: spbsoluble <[email protected]>
  • Loading branch information
spbsoluble committed Nov 7, 2024
1 parent 299d131 commit 8bcf183
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
- name: Run tests
run: |
export KFUTIL_DEBUG=1
go test -v ./cmd -run "^Test_StoreTypes*"
go test -timeout 20m -v ./cmd -run "^Test_StoreTypes*"
### Store Tests
Test_Stores_KFC_10_5_0:
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
git config --global url."https://$GITHUB_TOKEN:[email protected]/".insteadOf "https://github.com/"
- name: Run tests
run: go test -v ./cmd -run "^Test_Stores_*"
run: go test -timeout 20m -v ./cmd -run "^Test_Stores_*"

### PAM Tests
Test_PAM_KFC_10_5_0:
Expand Down Expand Up @@ -153,7 +153,7 @@ jobs:
- name: Run tests
run: |
unset KFUTIL_DEBUG
go test -v ./cmd -run "^Test_PAM*"
go test -timeout 20m -v ./cmd -run "^Test_PAM*"
### PAM Tests AKV Auth Provider
Test_AKV_PAM_KFC_10_5_0:
Expand Down Expand Up @@ -193,7 +193,7 @@ jobs:
- name: Run tests
run: |
go test -v ./cmd -run "^Test_PAM*"
go test -timeout 20m -v ./cmd -run "^Test_PAM*"

# ## KFC 11.x.x
Expand Down Expand Up @@ -226,7 +226,7 @@ jobs:
# - name: Run tests
# run: |
# unset KFUTIL_DEBUG
# go test -v ./cmd -run "^Test_StoreTypes*"
# go test -timeout 20m -v ./cmd -run "^Test_StoreTypes*"
#
#
# ### Store Tests
Expand All @@ -250,7 +250,7 @@ jobs:
# run: |
# git config --global url."https://$GITHUB_TOKEN:[email protected]/".insteadOf "https://github.com/"
# - name: Run tests
# run: go test -v ./cmd -run "^Test_Stores_*"
# run: go test -timeout 20m -v ./cmd -run "^Test_Stores_*"
#
# ### PAM Tests
# Test_PAM_KFC_11_1_2:
Expand All @@ -275,7 +275,7 @@ jobs:
# - name: Run tests
# run: |
# unset KFUTIL_DEBUG
# go test -v ./cmd -run "^Test_PAM*"
# go test -timeout 20m -v ./cmd -run "^Test_PAM*"
#
#
# ### PAM Tests AKV Auth Provider
Expand Down Expand Up @@ -306,7 +306,7 @@ jobs:
# make install
# - name: Run tests
# run: |
# go test -v ./cmd -run "^Test_PAM*"
# go test -timeout 20m -v ./cmd -run "^Test_PAM*"

## KFC 12.x.x
kf_12_x_x:
Expand Down Expand Up @@ -365,7 +365,7 @@ jobs:
# - name: Run tests
# run: |
# unset KFUTIL_DEBUG
# go test -v ./cmd -run "^Test_StoreTypes*"
# go test -timeout 20m -v ./cmd -run "^Test_StoreTypes*"

Test_StoreTypes_KFC_12_3_0_OAUTH:
runs-on: kfutil-runner-set
Expand Down Expand Up @@ -401,7 +401,7 @@ jobs:
- name: Run tests
run: |
unset KFUTIL_DEBUG
go test -v ./cmd -run "^Test_StoreTypes*"
go test -timeout 20m -v ./cmd -run "^Test_StoreTypes*"
### Store Tests
# Test_Stores_KFC_12_3_0:
Expand Down Expand Up @@ -435,7 +435,7 @@ jobs:
# git config --global url."https://$GITHUB_TOKEN:[email protected]/".insteadOf "https://github.com/"
#
# - name: Run tests
# run: go test -v ./cmd -run "^Test_Stores_*"
# run: go test -timeout 20m -v ./cmd -run "^Test_Stores_*"
Test_Stores_KFC_12_3_0_OAUTH:
runs-on: kfutil-runner-set
needs:
Expand Down Expand Up @@ -469,7 +469,7 @@ jobs:
git config --global url."https://$GITHUB_TOKEN:[email protected]/".insteadOf "https://github.com/"
- name: Run tests
run: go test -v ./cmd -run "^Test_Stores_*"
run: go test -timeout 20m -v ./cmd -run "^Test_Stores_*"

### PAM Tests
# Test_PAM_KFC_12_3_0:
Expand Down Expand Up @@ -505,7 +505,7 @@ jobs:
# - name: Run tests
# run: |
# unset KFUTIL_DEBUG
# go test -v ./cmd -run "^Test_PAM*"
# go test -timeout 20m -v ./cmd -run "^Test_PAM*"

Test_PAM_KFC_12_3_0_OAUTH:
runs-on: self-hosted
Expand Down Expand Up @@ -542,7 +542,7 @@ jobs:
- name: Run tests
run: |
unset KFUTIL_DEBUG
go test -v ./cmd -run "^Test_PAM*"
go test -timeout 20m -v ./cmd -run "^Test_PAM*"
### PAM Tests AKV Auth Provider
Expand Down Expand Up @@ -582,7 +582,7 @@ jobs:
# make install
# - name: Run tests
# run: |
# go test -v ./cmd -run "^Test_PAM*"
# go test -timeout 20m -v ./cmd -run "^Test_PAM*"

Test_AKV_PAM_KFC_12_3_0_OAUTH:
runs-on: self-hosted
Expand Down Expand Up @@ -621,7 +621,7 @@ jobs:
- name: Run tests
run: |
go test -v ./cmd -run "^Test_PAM*"
go test -timeout 20m -v ./cmd -run "^Test_PAM*"
# Tester Install Script
Test_Install_Script:
Expand Down Expand Up @@ -666,4 +666,4 @@ jobs:

# Run the tests with coverage found in the pkg directory
- name: Run tests
run: go test -v -cover ./pkg/...
run: go test -timeout 20m -v -cover ./pkg/...

0 comments on commit 8bcf183

Please sign in to comment.