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(); });