Skip to content

[google_fonts] test failure: 'decorationStyle is honored when passed in via the TextStyle param' #180150

@okorohelijah

Description

@okorohelijah

The google_fonts package tests is failing. Specifically, the test case loadFontIfNecessary makes second attempt if the first attempt failed is throwing an unhandled exception instead of completing as expected.


00:02 +90 -1: C:/b/s/w/ir/x/w/packages/packages/google_fonts/test/load_font_if_necessary_test.dart: loadFontIfNecessary makes second attempt if the first attempt failed 
Error: google_fonts was unable to load font Foo-Regular because the following exception occurred:
Exception: Failed to load font with url [https://fonts.gstatic.com/s/a/1194f6ffe4d2f05258573616a77932c38041f3102763096c19437c3db1818a04.ttf] : some error

https://ci.chromium.org/ui/p/flutter/builders/try/Windows_x64%20dart_unit_tests_shard_1%20master/18220/overview

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High-priority issues at the top of the work lista: tests"flutter test", flutter_test, or one of our testsc: flakeTests that sometimes, but not always, incorrectly passframeworkflutter/packages/flutter repository. See also f: labels.p: google_fontsPackage to use fonts from fonts.google.com. Supports HTTP fetching, caching, and asset bundling.packageflutter/packages repository. See also p: labels.team-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions