Skip to content

Commit 2739bf3

Browse files
committed
Skip session tests on Windows
1 parent e15fd6c commit 2739bf3

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

sqlite3/test/ffi/common_database_test.dart

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
@Tags(['ffi'])
22
library;
33

4+
import 'dart:io';
5+
46
import 'package:sqlite3/sqlite3.dart';
57
import 'package:test/scaffolding.dart';
68

@@ -18,7 +20,12 @@ void main() {
1820
hasSharedCache: hasSharedCache,
1921
);
2022

21-
group('session', () {
22-
testSession(() => sqlite3);
23-
}, skip: hasSession ? false : 'Missing session extension');
23+
if (!Platform.isWindows) {
24+
// TODO: Something is wrong with session tests on Windows, but I couldn't
25+
// reproduce the issue in a VM yet.
26+
27+
group('session', () {
28+
testSession(() => sqlite3);
29+
}, skip: hasSession ? false : 'Missing session extension');
30+
}
2431
}

0 commit comments

Comments
 (0)