-
Notifications
You must be signed in to change notification settings - Fork 302
Flaky unit test: TestPreCheckConfig in engine/pkg/externalresource/internal/local #12547
Copy link
Copy link
Open
Copy link
Labels
component/testUnit tests and integration tests component.Unit tests and integration tests component.flaky-testFlaky test failuresFlaky test failures
Description
Summary
TestPreCheckConfig in engine/pkg/externalresource/internal/local is flaky on master. The test intermittently expects an error but receives nil.
Failure Log
=== FAIL: engine/pkg/externalresource/internal/local TestPreCheckConfig (0.00s)
file_manager_test.go:285:
[2026/03/10 17:43:36.414 +08:00] [INFO] [file_manager.go:70] ["Created directory for local file resource"] [resource-name=resource-1-1] [path=/tmp/TestFileManagerManyWorkers3730084022/001/worker-1/7265736f757263652d312d31]
[2026/03/10 17:43:36.414 +08:00] [INFO] [file_manager.go:221] ["Local resource has been removed"] [resource-id=resource-1]
Error Trace: /home/prow/go/src/github.com/pingcap/tiflow/engine/pkg/externalresource/internal/local/file_manager_test.go:285
Error: An error is expected but got nil.
Test: TestPreCheckConfig
[2026/03/10 17:43:36.414 +08:00] [INFO] [file_manager.go:70] ["Created directory for local file resource"] [resource-name=resource-1-2] [path=/tmp/TestFileManagerManyWorkers3730084022/001/worker-1/7265736f757263652d312d32]
[2026/03/10 17:43:36.415 +08:00] [INFO] [file_manager.go:70] ["Created directory for local file resource"] [resource-name=resource-2-1] [path=/tmp/TestFileManagerManyWorkers3730084022/001/worker-2/7265736f757263652d322d31]
References
- encountered in PR: sync-diff-inspector: improve checksum SQL with configurable algorithm and float handling #12533
- CI build: https://prow.tidb.net/view/gs/prow-tidb-logs/pr-logs/pull/pingcap_tiflow/12533/wip-pull-unit-test-engine/2031303054317326336
Notes
- Observed on 2026-03-10.
Reactions are currently unavailable
Metadata
Metadata
Labels
component/testUnit tests and integration tests component.Unit tests and integration tests component.flaky-testFlaky test failuresFlaky test failures