Skip to content

Commit 302e23d

Browse files
Merge #4095
4095: Add step to print results of test monitor r=jordanschalm a=jordanschalm The Flaky test monitor processes results and makes them available on a test-by-test basis in Bigquery, however there is not a way to see the full test output. Here's an example of where this can be useful: https://dapperlabs.grafana.net/d/toErpbynz/single-test-metrics?orgId=1&var-package=github.com%2Fonflow%2Fflow-go%2Fintegration%2Fdkg&var-dataset_name=dapperlabs-data.production_src_flow_test_metrics&var-skipped_tests_table=skipped_tests&var-test_results_table=test_results&var-query_limit=100000&var-test=TestWithEmulator%2FTestNodesDown&from=1679042550234&to=1679065565932 The test failed, but the output shows an immediate timeout. Did the test itself time out without printing any logs? Did a previous test time out? It's difficult to tell without more context. Co-authored-by: Jordan Schalm <[email protected]>
2 parents 98f7a79 + a21ef03 commit 302e23d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/test-monitor-flaky.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ jobs:
7272
TEST_FLAKY: true
7373
JSON_OUTPUT: true
7474
RACE_DETECTOR: 1
75+
- name: Print test results
76+
run: cat test-output
7577
- name: Process test results
7678
run: cat test-output | go run tools/test_monitor/level1/process_summary1_results.go
7779
env:

.github/workflows/test-monitor-regular-skipped.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ jobs:
7676
command: ./tools/test_monitor/run-tests.sh
7777
env:
7878
JSON_OUTPUT: true
79+
- name: Print test results
80+
run: cat test-output
7981
- name: Process test results
8082
run: cat test-output | go run tools/test_monitor/level1/process_summary1_results.go
8183
env:

0 commit comments

Comments
 (0)