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>
This commit is contained in:
parent
2a15ec72c0
commit
7a61cb46e6
@ -70,6 +70,8 @@ class tst_Http2 : public QObject
|
|||||||
public:
|
public:
|
||||||
tst_Http2();
|
tst_Http2();
|
||||||
~tst_Http2();
|
~tst_Http2();
|
||||||
|
public slots:
|
||||||
|
void init();
|
||||||
private slots:
|
private slots:
|
||||||
// Tests:
|
// Tests:
|
||||||
void singleRequest_data();
|
void singleRequest_data();
|
||||||
@ -173,6 +175,11 @@ tst_Http2::~tst_Http2()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void tst_Http2::init()
|
||||||
|
{
|
||||||
|
manager.clearConnectionCache();
|
||||||
|
}
|
||||||
|
|
||||||
void tst_Http2::singleRequest_data()
|
void tst_Http2::singleRequest_data()
|
||||||
{
|
{
|
||||||
QTest::addColumn<QNetworkRequest::Attribute>("h2Attribute");
|
QTest::addColumn<QNetworkRequest::Attribute>("h2Attribute");
|
||||||
|
Loading…
Reference in New Issue
Block a user