diff options
author | Jüri Valdmann <juri.valdmann@qt.io> | 2020-03-26 11:44:08 +0100 |
---|---|---|
committer | Jüri Valdmann <juri.valdmann@qt.io> | 2020-03-26 20:28:01 +0100 |
commit | 9d979c1e89922500604527d1d8606a7c668ad11f (patch) | |
tree | e493fca390fe0075173e7fabf1c52d463e18578a | |
parent | 2f471f1fc80952a715299b7faf2db738944f9bd0 (diff) |
Fix changeUseForGlobalCertificateVerification test flakiness
Change-Id: I80c99deb95c06191c4e872e45c56dff0c6c26001
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
-rw-r--r-- | tests/auto/widgets/qwebengineprofile/tst_qwebengineprofile.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/widgets/qwebengineprofile/tst_qwebengineprofile.cpp b/tests/auto/widgets/qwebengineprofile/tst_qwebengineprofile.cpp index 80c6740b4..6b32bb826 100644 --- a/tests/auto/widgets/qwebengineprofile/tst_qwebengineprofile.cpp +++ b/tests/auto/widgets/qwebengineprofile/tst_qwebengineprofile.cpp @@ -945,7 +945,8 @@ void tst_QWebEngineProfile::changeUseForGlobalCertificateVerification() profile.setUseForGlobalCertificateVerification(true); page.reset(new QWebEnginePage(&profile)); QVERIFY(loadSync(page.get(), server.url("/hedgehog.html"))); - QVERIFY(server.stop()); + // Don't check for error: there can be disconnects during GET hedgehog.png. + server.stop(); } void tst_QWebEngineProfile::changePersistentCookiesPolicy() |