mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 19:21:30 +00:00
[dart2wasm] Unskip lib/async/stream_periodic3_test
Closes https://github.com/dart-lang/sdk/issues/50901 Change-Id: If0d4cc4160fc038c93ee6d2357eb185dd42e5a17 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/368564 Reviewed-by: Ömer Ağacan <omersa@google.com> Commit-Queue: Martin Kustermann <kustermann@google.com>
This commit is contained in:
parent
698bf0846b
commit
5963c95f47
|
@ -8,12 +8,12 @@ library dart.test.stream_from_iterable;
|
|||
import 'dart:async';
|
||||
|
||||
import 'package:async_helper/async_minitest.dart';
|
||||
import 'package:expect/config.dart';
|
||||
|
||||
// The stopwatch is more precise than the Timer.
|
||||
// The Stopwatch is more precise than the Timer.
|
||||
// Some browsers (Firefox and IE so far) can trigger too early. So we add more
|
||||
// margin. We use identical(1, 1.0) as an easy way to know if the test is
|
||||
// compiled by dart2js.
|
||||
int get safetyMargin => identical(1, 1.0) ? 5 : 0;
|
||||
// margin.
|
||||
int get safetyMargin => isWebConfiguration ? 5 : 0;
|
||||
|
||||
main() {
|
||||
test("stream-periodic3", () {
|
||||
|
|
|
@ -2,13 +2,11 @@
|
|||
# for details. All rights reserved. Use of this source code is governed by a
|
||||
# BSD-style license that can be found in the LICENSE file.
|
||||
html/cross_frame_test: Skip # Issue 32039, test reloads itself (not by design - investigate)
|
||||
wasm/*: Skip # dart:_wasm is currently behind a Dart SDK build flag.
|
||||
|
||||
[ $arch == simarm ]
|
||||
convert/utf85_test: Skip # Pass, Slow Issue 12644.
|
||||
|
||||
[ $compiler == dart2wasm ]
|
||||
async/stream_periodic3_test: Skip # Flaky, issue 50901
|
||||
fix_data_tests/*: SkipByDesign
|
||||
html/*: SkipByDesign # dart:html not supported on dart2wasm
|
||||
isolate/*: SkipByDesign
|
||||
|
|
Loading…
Reference in a new issue