Skip to content

Commit

Permalink
Merge branch 'master' into improve-doc-check
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsun28 authored Aug 21, 2024
2 parents 1442215 + 1fac6ab commit 5d51f30
Show file tree
Hide file tree
Showing 7 changed files with 732 additions and 11 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/backend-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,11 @@ jobs:
sudo docker-compose up --exit-code-from testing --remove-orphans
# upload application logs
- name: Upload logs
- name: Upload logs & API test reports
uses: actions/upload-artifact@v3
if: always()
with:
name: hz-logs-${{ github.run_id }}
path: e2e/logs/
path: |
e2e/logs/
e2e/report/
3 changes: 2 additions & 1 deletion e2e/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ services:
volumes:
- ./data/:/work/data/
- ./testsuite.yaml:/work/testsuite.yaml
command: atest run -p /work/testsuite.yaml --report md
- ./report/report.md:/report.md
command: atest run -p /work/testsuite.yaml --level warn --thread 3 --report md --report-file /report.md
depends_on:
hertzbeat:
condition: service_healthy
Expand Down
1 change: 1 addition & 0 deletions e2e/report/report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
keep, not delete!
11 changes: 5 additions & 6 deletions e2e/testsuite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@ items:
}
expect:
statusCode: 409
- name: missing-auth-header
request:
api: /api/monitors
expect:
statusCode: 401
- name: monitorList
request:
api: /api/monitors?pageIndex=0&pageSize=8
Expand All @@ -71,7 +66,11 @@ items:
expect:
bodyFieldsExpect:
code: "0"

- name: missing-auth-header
request:
api: /api/monitors
expect:
statusCode: 401
- name: createSitemapMonitor
request:
api: /api/monitor
Expand Down
Loading

0 comments on commit 5d51f30

Please sign in to comment.