diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2023-02-13 09:34:09 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2023-02-13 09:50:36 +0100 |
commit | 7b8f5acf0adb02d438b0a0fb926b17c004f0a035 (patch) | |
tree | 58a0dec579ede728d6aabb9c03bc7e3bd79690a6 /tests | |
parent | 6757d169fe1e5dacfee2ea622f94fc3e566724b5 (diff) | |
download | qtwebengine-7b8f5acf0adb02d438b0a0fb926b17c004f0a035.tar.gz |
Attempt to fix flaky fetchAPI test
Change-Id: I0aa38930767c2caf37c9f641f5f65967e6c73356
Reviewed-by: Yigit Akcay <yigit.akcay@qt.io>
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/core/origins/tst_origins.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/core/origins/tst_origins.cpp b/tests/auto/core/origins/tst_origins.cpp index 98f0f1735..0617ce697 100644 --- a/tests/auto/core/origins/tst_origins.cpp +++ b/tests/auto/core/origins/tst_origins.cpp @@ -1604,7 +1604,7 @@ void tst_Origins::fetchApiCustomUrl() page.load(url); QVERIFY(loadSpy.wait()); - QCOMPARE(handler.fetchWasAllowed, expectedFetchWasAllowed); + QTRY_COMPARE(handler.fetchWasAllowed, expectedFetchWasAllowed); if (fetchApiScheme == "fetchapi-not-allowed") { QVERIFY(jsSpy.wait()); |