From c39e47544a2d8114aba69947cb73e962b84a9850 Mon Sep 17 00:00:00 2001 From: Ralf Kistner Date: Mon, 28 Oct 2024 11:47:16 +0200 Subject: [PATCH] Improve test stability. --- .github/workflows/test.yaml | 1 + packages/sqlite_async/test/watch_test.dart | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 85c9c02..2cd34e0 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -30,6 +30,7 @@ jobs: test: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: include: - sqlite_version: "3440200" diff --git a/packages/sqlite_async/test/watch_test.dart b/packages/sqlite_async/test/watch_test.dart index 08a80cb..7e74790 100644 --- a/packages/sqlite_async/test/watch_test.dart +++ b/packages/sqlite_async/test/watch_test.dart @@ -258,7 +258,7 @@ void main() { final db = await testUtils.setupDatabase(path: path); await createTables(db); - const baseTime = 10; + const baseTime = 20; const throttleDuration = Duration(milliseconds: baseTime); // delay must be bigger than throttleDuration, and bigger @@ -300,6 +300,7 @@ void main() { // [0, 2, 2]: The watch is triggered during the transaction, // but executes after the transaction (single connection). // [0]: No updates triggered. + // [2, 2]: Timing issue? }); }); }