Skip to content

Commit e30adc1

Browse files
authored
Add --disable-dev-shm-usage to the default Chrome flags (#1069)
* default flags * fix version
1 parent efe2d60 commit e30adc1

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

pkgs/test/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.6.9
2+
3+
* Add `--disable-dev-shm-usage` to the default Chrome flags.
4+
15
## 1.6.8
26

37
* Depend on the latest `test_core` and `test_api`.

pkgs/test/lib/src/runner/browser/chrome.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ import 'dart:io';
88
import 'package:pedantic/pedantic.dart';
99
import 'package:test_api/src/backend/runtime.dart'; // ignore: implementation_imports
1010
import 'package:test_core/src/util/io.dart'; // ignore: implementation_imports
11+
12+
import '../executable_settings.dart';
1113
import 'browser.dart';
1214
import 'default_settings.dart';
13-
import '../executable_settings.dart';
1415

1516
// TODO(nweiz): move this into its own package?
1617
/// A class for running an instance of Chrome.
@@ -43,6 +44,7 @@ class Chrome extends Browser {
4344
"--no-default-browser-check",
4445
"--disable-default-apps",
4546
"--disable-translate",
47+
"--disable-dev-shm-usage",
4648
];
4749

4850
if (!debug && settings.headless) {

pkgs/test/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: test
2-
version: 1.6.8
2+
version: 1.6.9
33
author: Dart Team <misc@dartlang.org>
44
description: A full featured library for writing and running Dart tests.
55
homepage: https://github.com/dart-lang/test/blob/master/pkgs/test

0 commit comments

Comments
 (0)