Skip to content

Commit 279dda8

Browse files
[various] Disable sandbox in Chrome dart tests (#8909)
`flutter test` automatically disables sandbox in headless mode, but `dart test` does not, and the Linux CI bots no longer support the sandbox, so this turns it off explicitly for packages that don't rely on Flutter (and thus use `dart test`). Fixes flutter/flutter#165664
1 parent 8c287e9 commit 279dda8

File tree

5 files changed

+30
-0
lines changed

5 files changed

+30
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# See https://github.com/dart-lang/test/blob/master/pkgs/test/doc/configuration.md#arguments
2+
override_platforms:
3+
chrome:
4+
settings:
5+
executable: chrome
6+
arguments: --no-sandbox
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# See https://github.com/dart-lang/test/blob/master/pkgs/test/doc/configuration.md#arguments
2+
override_platforms:
3+
chrome:
4+
settings:
5+
executable: chrome
6+
arguments: --no-sandbox
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# See https://github.com/dart-lang/test/blob/master/pkgs/test/doc/configuration.md#arguments
2+
override_platforms:
3+
chrome:
4+
settings:
5+
executable: chrome
6+
arguments: --no-sandbox
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# See https://github.com/dart-lang/test/blob/master/pkgs/test/doc/configuration.md#arguments
2+
override_platforms:
3+
chrome:
4+
settings:
5+
executable: chrome
6+
arguments: --no-sandbox
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# See https://github.com/dart-lang/test/blob/master/pkgs/test/doc/configuration.md#arguments
2+
override_platforms:
3+
chrome:
4+
settings:
5+
executable: chrome
6+
arguments: --no-sandbox

0 commit comments

Comments
 (0)