From 177bc7d0744c664175770208c553d8927c194516 Mon Sep 17 00:00:00 2001 From: Martin Kustermann Date: Thu, 2 Sep 2021 22:15:55 +0000 Subject: [PATCH] [vm/concurrency] Fix test to always pass --enable-isolate-groups (or the negative flag) This makes the self-detection of whether isolate groups are enabled work correctly in the test. TEST=Fixes lib_2/isolate/message3_test test failures on CI Change-Id: I71965236444af71e6deb4df6a77911144af9af91 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/212294 Auto-Submit: Martin Kustermann Reviewed-by: Martin Kustermann Commit-Queue: Martin Kustermann --- tests/lib/isolate/message3_test.dart | 3 ++- tests/lib_2/isolate/message3_test.dart | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/lib/isolate/message3_test.dart b/tests/lib/isolate/message3_test.dart index 43281a6d317..6809c95ce39 100644 --- a/tests/lib/isolate/message3_test.dart +++ b/tests/lib/isolate/message3_test.dart @@ -7,7 +7,8 @@ // VMOptions=--no-enable-isolate-groups // Dart test program for testing serialization of messages. -// VMOptions=--enable_type_checks --enable_asserts +// VMOptions=--enable_type_checks --enable_asserts --enable-isolate-groups +// VMOptions=--enable_type_checks --enable_asserts --no-enable-isolate-groups library MessageTest; diff --git a/tests/lib_2/isolate/message3_test.dart b/tests/lib_2/isolate/message3_test.dart index 44f4098f2a0..4eb2c6bdaf1 100644 --- a/tests/lib_2/isolate/message3_test.dart +++ b/tests/lib_2/isolate/message3_test.dart @@ -9,7 +9,8 @@ // VMOptions=--no-enable-isolate-groups // Dart test program for testing serialization of messages. -// VMOptions=--enable_type_checks --enable_asserts +// VMOptions=--enable_type_checks --enable_asserts --enable-isolate-groups +// VMOptions=--enable_type_checks --enable_asserts --no-enable-isolate-groups library MessageTest;