From 22b376f86193ca72080fa087a59e79cc7df91cc1 Mon Sep 17 00:00:00 2001 From: ZhuchkaTriplesix Date: Sun, 25 Oct 2026 13:12:18 +0300 Subject: [PATCH] test(sql-workspace): run the pool's release timer in the discard test too (#1771) --- .../workspace/sql_workspace_execute_dirty_guard_test.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/features/workspace/sql_workspace_execute_dirty_guard_test.dart b/test/features/workspace/sql_workspace_execute_dirty_guard_test.dart index 6f22b713..7956e514 100644 --- a/test/features/workspace/sql_workspace_execute_dirty_guard_test.dart +++ b/test/features/workspace/sql_workspace_execute_dirty_guard_test.dart @@ -166,6 +166,8 @@ void main() { material.FocusManager.instance.primaryFocus?.unfocus(); await tester.pumpWidget(const SizedBox()); + // The connection pool arms a release timer when the workspace goes away. + await tester.pump(const Duration(seconds: 5)); await tester.pumpAndSettle(); });