1. 25 Aug, 2018 38 commits
  2. 24 Aug, 2018 2 commits
    • rbpotter's avatar
      WebUI Polymer 2 migration: Re-enable interactive_ui_tests · 8ed19ab9
      rbpotter authored
      These tests were disabled by https://crrev.com/c/1176206 because
      they were reported as flaky on debug builds. Based on the
      flakiness dashboard, it appears the failures were timeouts on the
      Win10 Tests x64 (dbg) bot. interactive_ui_tests is marked as
      experimental on this bot due to crbug.com/840369. The
      webui_polymer2_interactive_ui_tests suite is expected to have the same
      behavior, so it should also be marked as experimental on this bot.
      
      Remove the tests from the blacklist, as they should pass on other bots.
      
      Bug: 875443
      Change-Id: Ib5b3c99cf589b1ab9994346460e95ed746533ba6
      Reviewed-on: https://chromium-review.googlesource.com/1187729Reviewed-by: default avatarDirk Pranke <dpranke@chromium.org>
      Commit-Queue: Rebekah Potter <rbpotter@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#586066}
      8ed19ab9
    • Wez's avatar
      Check that TaskScheduler is not leaked between tests, or test-cases. · 31890108
      Wez authored
      This is a reland of a2a4e75d with a
      work-around for cronet_tests' sharing libbase.so with libcronet.so in
      component builds.
      
      - Move some APIs off of base::TestSuite, that we unnecessarily public.
      - Rename the various internal TestEventListeners to express purpose.
      - Add CheckForLeakedGlobals check, and DisableCheckForLeakedGlobals API.
        The latter is called by the content::ContentTestSuiteBase, since the
        various browser- and ui-tests running under that suite base run more
        like the browser itself, and so are expected to let global singletons
        leak.
      
      If tests fail or flake due to this patch, then this indicates that the
      test is actually leaking global state that may break other tests if they
      happen to run in the same process, leading to hard-to-diagnose flakes.
      
      There are two main failure cases:
      If the test directly or indirectly uses TaskScheduler, but does not
      create a ScopedTaskEnvironment, then please add one to the test, or to
      the test base-class, as appropriate, to fix it.
      If the test suite cannot be fixed in this way then please add a call to
      DisableCheckForLeakedGlobals(), with a comment linking to a bug for the
      issue.
      
      TBR: gab, sky, mef
      Bug: 875486, 877355, 744567
      Change-Id: Iaea38d24ede271c248a3abb0b3f7ee931c2538f5
      Reviewed-on: https://chromium-review.googlesource.com/1187783Reviewed-by: default avatarWez <wez@chromium.org>
      Commit-Queue: Wez <wez@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#586065}
      31890108