From 7a61cb46e69a3997e935d46f0c01d5cd36946245 Mon Sep 17 00:00:00 2001 From: Timur Pocheptsov Date: Mon, 15 Jul 2019 16:11:31 +0200 Subject: [PATCH] tst_http2::flowControlServerSide MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- tests/auto/network/access/http2/tst_http2.cpp | 7 +++++++ 1 file changed, 7 insertions(+) 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("h2Attribute");