Skip to content

Commit

Permalink
Improve test stability.
Browse files Browse the repository at this point in the history
  • Loading branch information
rkistner committed Oct 28, 2024
1 parent 8b40681 commit c39e475
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- sqlite_version: "3440200"
Expand Down
3 changes: 2 additions & 1 deletion packages/sqlite_async/test/watch_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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?
});
});
}

0 comments on commit c39e475

Please sign in to comment.