From 33f4f8e6df1541bf2333c792027fb2c39a6b9981 Mon Sep 17 00:00:00 2001 From: Yegor Date: Wed, 2 Oct 2019 15:11:22 -0700 Subject: [PATCH] run services tests on the Web (#41806) --- dev/bots/test.dart | 3 +-- packages/flutter/test/services/channel_buffers_test.dart | 5 ++++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/dev/bots/test.dart b/dev/bots/test.dart index 9375e80ea1..433068dd7c 100644 --- a/dev/bots/test.dart +++ b/dev/bots/test.dart @@ -435,13 +435,12 @@ Future _runTests() async { } Future _runWebTests() async { - // TODO(yjbanov): re-enable when web test cirrus flakiness is resolved await _runFlutterWebTest(path.join(flutterRoot, 'packages', 'flutter'), tests: [ 'test/foundation/', 'test/physics/', + 'test/services/', // TODO(yjbanov): re-enable when flakiness is resolved // 'test/rendering/', - // 'test/services/', // 'test/painting/', // 'test/scheduler/', // 'test/semantics/', diff --git a/packages/flutter/test/services/channel_buffers_test.dart b/packages/flutter/test/services/channel_buffers_test.dart index 3c249d5c11..931351d301 100644 --- a/packages/flutter/test/services/channel_buffers_test.dart +++ b/packages/flutter/test/services/channel_buffers_test.dart @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// TODO(yjbanov): enable Web when https://github.com/flutter/engine/pull/12747 rolls into the framework. +@TestOn('!chrome') + import 'dart:convert'; import 'dart:typed_data'; import 'dart:ui' as ui; @@ -39,7 +42,7 @@ void main() { bool didDrainData = false; binding.defaultBinaryMessenger.setMessageHandler(channel, (ByteData message) async { expect(_getString(message), payload); - didDrainData= true; + didDrainData = true; return null; }); // Flush the event queue.