Skip to content

Commit

Permalink
Update integration test timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
weiiwang01 committed Dec 4, 2023
1 parent 9152dd3 commit a1a1f87
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
integration-test-legacy:
name: Run Legacy Integration Tests
runs-on: [ self-hosted, linux, x64, large ]
timeout-minutes: 30

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -49,11 +50,11 @@ jobs:
- name: Test HTTP
run: |
curl --noproxy "*" http://canonical.com -svS -o /dev/null
curl --noproxy "*" --max-time 30 http://canonical.com -svS -o /dev/null
- name: Test HTTPS
run: |
curl --noproxy "*" https://canonical.com -svS -o /dev/null
curl --noproxy "*" --max-time 30 https://canonical.com -svS -o /dev/null
- name: Test Access Logs
run: |
Expand All @@ -64,6 +65,7 @@ jobs:
integration-test:
name: Run Integration Tests
runs-on: [ self-hosted, linux, x64, large ]
timeout-minutes: 30

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -112,12 +114,12 @@ jobs:
- name: Test Passthrough HTTP
run: |
curl --noproxy "*" http://www.canonical.com -svS -o /dev/null
curl --noproxy "*" --max-time 30 http://www.canonical.com -svS -o /dev/null
sudo snap logs aproxy.aproxy -n 1 | grep -qi "passthrough.*host=www.canonical.com"
- name: Test Passthrough HTTPS
run: |
curl --noproxy "*" https://canonical.com -svS -o /dev/null
curl --noproxy "*" --max-time 30 https://canonical.com -svS -o /dev/null
sudo snap logs aproxy.aproxy -n 1 | grep -qi "passthrough.*host=canonical.com"
- name: Set HTTP Proxy
Expand All @@ -126,12 +128,12 @@ jobs:
- name: Test Proxy HTTP
run: |
curl --noproxy "*" http://www.ubuntu.com -svS -o /dev/null
curl --noproxy "*" --max-time 30 http://www.ubuntu.com -svS -o /dev/null
sudo snap logs aproxy.aproxy -n 1 | grep -qi "http.*proxy.*host=www.ubuntu.com"
- name: Test Passthrough HTTPS
run: |
curl --noproxy "*" https://ubuntu.com -svS -o /dev/null
curl --noproxy "*" --max-time 30 https://ubuntu.com -svS -o /dev/null
sudo snap logs aproxy.aproxy -n 1 | grep -qi "passthrough.*host=ubuntu.com"
- name: Set HTTPS Proxy
Expand All @@ -140,12 +142,12 @@ jobs:
- name: Test Proxy HTTP
run: |
curl --noproxy "*" http://www.ubuntu.net -svS -o /dev/null
curl --noproxy "*" --max-time 30 http://www.ubuntu.net -svS -o /dev/null
sudo snap logs aproxy.aproxy -n 1 | grep -qi "http.*proxy.*host=www.ubuntu.net"
- name: Test Proxy HTTPS
run: |
curl --noproxy "*" https://ubuntu.net -svS -o /dev/null
curl --noproxy "*" --max-time 30 https://ubuntu.net -svS -o /dev/null
sudo snap logs aproxy.aproxy -n 1 | grep -qi "tls.*proxy.*host=ubuntu.net"
- name: Print Aproxy Logs
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
test:
name: Run Tests
runs-on: [ self-hosted, linux, x64, large ]
timeout-minutes: 30

steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit a1a1f87

Please sign in to comment.