Commit 359b18f
fix: make concurrent declarative source test order-agnostic
The test_read_concurrent_declarative_source test was failing on Python 3.13
due to race conditions in concurrent processing that caused records to be
returned in different orders. This change replaces the strict list equality
assertion with a sorted comparison that validates the same records are
present without caring about their order.
Fixes the flaky test failure:
test_no_pagination_with_partition_router-manifest4-pages4-expected_records4-expected_calls4
Co-Authored-By: AJ Steers <[email protected]>1 parent e5a1fc2 commit 359b18f
File tree
1 file changed
+1
-1
lines changed- unit_tests/sources/declarative
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3885 | 3885 | | |
3886 | 3886 | | |
3887 | 3887 | | |
3888 | | - | |
| 3888 | + | |
3889 | 3889 | | |
3890 | 3890 | | |
3891 | 3891 | | |
| |||
0 commit comments