File tree Expand file tree Collapse file tree 4 files changed +12
-9
lines changed Expand file tree Collapse file tree 4 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 72
72
sudo docker-compose up --exit-code-from testing --remove-orphans
73
73
74
74
# upload application logs
75
- - name : Upload logs
75
+ - name : Upload logs & API test reports
76
76
uses : actions/upload-artifact@v3
77
77
if : always()
78
78
with :
79
79
name : hz-logs-${{ github.run_id }}
80
- path : e2e/logs/
80
+ path : |
81
+ e2e/logs/
82
+ e2e/report/
Original file line number Diff line number Diff line change @@ -25,7 +25,8 @@ services:
25
25
volumes :
26
26
- ./data/:/work/data/
27
27
- ./testsuite.yaml:/work/testsuite.yaml
28
- command : atest run -p /work/testsuite.yaml --report md
28
+ - ./report/report.md:/report.md
29
+ command : atest run -p /work/testsuite.yaml --level warn --thread 3 --report md --report-file /report.md
29
30
depends_on :
30
31
hertzbeat :
31
32
condition : service_healthy
Original file line number Diff line number Diff line change
1
+ keep, not delete!
Original file line number Diff line number Diff line change @@ -58,11 +58,6 @@ items:
58
58
}
59
59
expect :
60
60
statusCode : 409
61
- - name : missing-auth-header
62
- request :
63
- api : /api/monitors
64
- expect :
65
- statusCode : 401
66
61
- name : monitorList
67
62
request :
68
63
api : /api/monitors?pageIndex=0&pageSize=8
@@ -71,7 +66,11 @@ items:
71
66
expect :
72
67
bodyFieldsExpect :
73
68
code : " 0"
74
-
69
+ - name : missing-auth-header
70
+ request :
71
+ api : /api/monitors
72
+ expect :
73
+ statusCode : 401
75
74
- name : createSitemapMonitor
76
75
request :
77
76
api : /api/monitor
You can’t perform that action at this time.
0 commit comments