Skip to content

Commit 883ee40

Browse files
stuartmorgan-gandroidseb
authored andcommitted
[various] Disable sandbox in Chrome dart tests (flutter#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 b2e7c6e commit 883ee40

File tree

5 files changed

+30
-0
lines changed

5 files changed

+30
-0
lines changed
Lines changed: 6 additions & 0 deletions
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
Lines changed: 6 additions & 0 deletions
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
Lines changed: 6 additions & 0 deletions
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
Lines changed: 6 additions & 0 deletions
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
Lines changed: 6 additions & 0 deletions
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)