mirror of
https://github.com/hanzoai/tasks.git
synced 2026-10-04 02:04:03 +00:00
## What changed? <!-- Describe what has changed in this PR --> Extended the testrunner to scan the test output for timed out tests and report these (1) in the logs and (2) in the JUnit report. ## Why? <!-- Tell your future self why have you made these changes --> To track timed out tests better. ## How did you test it? <!-- How have you verified this change? Tested locally? Added a unit test? Checked in staging env? --> I set the test timeout to 5s. This is what you see, for example: https://github.com/temporalio/temporal/actions/runs/12922374527/job/36038028569?pr=7144#step:8:52993 <img width="834" alt="image" src="https://github.com/user-attachments/assets/41723e9a-c2a9-4e69-8b0a-df52d6c4fc52" /> The developer will still have to connect the the test/suite name to the code location, but that shouldn't be too hard. Also verified that the JUnit report is being written correctly. ## Potential risks <!-- Assuming the worst case, what can be broken when deploying this change to production? --> ## Documentation <!-- Have you made sure this change doesn't falsify anything currently stated in `docs/`? If significant new behavior is added, have you described that in `docs/`? --> ## Is hotfix candidate? <!-- Is this PR a hotfix candidate or does it require a notification to be sent to the broader community? (Yes/No) --> --------- Co-authored-by: Roey Berman <[email protected]>
31 lines
1.5 KiB
Plaintext
31 lines
1.5 KiB
Plaintext
3 timed out test(s):
|
|
TestActivityApiResetClientTestSuite
|
|
TestNDCFuncTestSuite
|
|
TestActivityApiStateReplicationSuite
|
|
|
|
abridged stacktrace:
|
|
goroutine 9 [chan receive]:
|
|
/golang/1.23.2/packages/pkg/mod/golang.org/[email protected]/src/testing/testing.go:1484
|
|
/temporal/tests/workflow_visibility_test.go:50
|
|
/golang/1.23.2/packages/pkg/mod/golang.org/[email protected]/src/testing/testing.go:1690
|
|
|
|
goroutine 10 [chan receive]:
|
|
/golang/1.23.2/packages/pkg/mod/golang.org/[email protected]/src/testing/testing.go:1484
|
|
/temporal/tests/nexus_workflow_test.go:74
|
|
/golang/1.23.2/packages/pkg/mod/golang.org/[email protected]/src/testing/testing.go:1690
|
|
|
|
goroutine 11 [select]:
|
|
/temporal/common/backoff/retry.go:110
|
|
/temporal/common/backoff/retry.go:63
|
|
/temporal/common/persistence/cassandra/test.go:165
|
|
/temporal/common/persistence/cassandra/test.go:109
|
|
/temporal/common/persistence/persistence-tests/persistence_test_base.go:214
|
|
/temporal/tests/testcore/test_cluster.go:251
|
|
/temporal/tests/testcore/test_cluster.go:148
|
|
/temporal/tests/testcore/functional_test_base.go:224
|
|
/temporal/tests/testcore/functional_test_sdk_suite.go:84
|
|
/golang/1.23.2/packages/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:157
|
|
/temporal/tests/activity_api_reset_test.go:58
|
|
/golang/1.23.2/packages/pkg/mod/golang.org/[email protected]/src/testing/testing.go:1690
|
|
|