Skip to content

test(sql-workspace): run the pool's release timer in the discard test too - #1792

Merged
ZhuchkaTriplesix merged 1 commit into
devfrom
fix/dirty-guard-test-pool-timer
Oct 25, 2026
Merged

ZhuchkaTriplesix merged 1 commit into
devfrom
fix/dirty-guard-test-pool-timer

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

The first test of sql_workspace_execute_dirty_guard_test.dart now lets the query run after Discard (since #1785), so disposing the workspace leaves the sqlite pool's 4 s release timer pending and the test fails with 'A Timer is still pending'. The second test already pumps 5 s at the end; this does the same here. Test-only. CI will tell.

@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit e502f01 into dev Oct 25, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant