diff options
author | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2019-07-15 16:11:31 +0200 |
---|---|---|
committer | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2019-07-15 16:17:16 +0200 |
commit | 7a61cb46e69a3997e935d46f0c01d5cd36946245 (patch) | |
tree | d4f3c7f78fc5c943c5b42a5f18ced718eda2fbfc /tests/auto/network | |
parent | 2a15ec72c0d088a5dca344df163fac73c24caa1f (diff) |
tst_http2::flowControlServerSide
fix the bloody test for good - the idea to have a shared QNAM (shared
by test cases in this test) was somewhat wrong to start with.
Fixes: QTBUG-77053
Change-Id: I5755e96ec988e2dd546f527f3f902fc43914b0b7
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'tests/auto/network')
-rw-r--r-- | tests/auto/network/access/http2/tst_http2.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/network/access/http2/tst_http2.cpp b/tests/auto/network/access/http2/tst_http2.cpp index 76eb431af6..579eb89c0a 100644 --- a/tests/auto/network/access/http2/tst_http2.cpp +++ b/tests/auto/network/access/http2/tst_http2.cpp @@ -70,6 +70,8 @@ class tst_Http2 : public QObject public: tst_Http2(); ~tst_Http2(); +public slots: + void init(); private slots: // Tests: void singleRequest_data(); @@ -173,6 +175,11 @@ tst_Http2::~tst_Http2() } } +void tst_Http2::init() +{ + manager.clearConnectionCache(); +} + void tst_Http2::singleRequest_data() { QTest::addColumn<QNetworkRequest::Attribute>("h2Attribute"); |