Index: runtime/vm/custom_isolate_test.cc |
diff --git a/runtime/vm/custom_isolate_test.cc b/runtime/vm/custom_isolate_test.cc |
index d720f703df023424f7d930167d4d05d5a720e13e..1995ee651c4e50723d34aa9997487f4660c895e8 100644 |
--- a/runtime/vm/custom_isolate_test.cc |
+++ b/runtime/vm/custom_isolate_test.cc |
@@ -321,7 +321,9 @@ UNIT_TEST_CASE(CustomIsolates) { |
bool saved_flag = FLAG_trace_shutdown; |
FLAG_trace_shutdown = true; |
FLAG_verify_handles = true; |
+#ifdef DEBUG |
FLAG_verify_on_transition = true; |
+#endif |
event_queue = new EventQueue(); |
Dart_Isolate dart_isolate = TestCase::CreateTestIsolate(); |