Commit 1917b48
Paul Mathew
fix(tests): isolate state in test_write_optional_list
`test_write_optional_list` uses `create_table_if_not_exists` and then asserts
exact row counts after two `tbl.append()` calls. On any subsequent run the
table is reused, so the asserted counts (2, then 4) become 6, 10, ... and the
test fails. The failure only surfaces when the integration suite is replayed
without a fresh docker-compose stack, which masks the bug in CI but makes it a
papercut for local development.
Drop the table at the start to guarantee a clean slate, matching the pattern
used by `_create_table()` for every other write test in this module.1 parent d008a04 commit 1917b48
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2027 | 2027 | | |
2028 | 2028 | | |
2029 | 2029 | | |
2030 | | - | |
| 2030 | + | |
2031 | 2031 | | |
2032 | 2032 | | |
2033 | 2033 | | |
| |||
0 commit comments