tst_QHttp2Connection: fix typo of tested variable
Accidentally used clientStream instead of clientStream2. Test still passes though. Change-Id: I118f1e429faa0367f0b4d02c74a221027ecb2b4d Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> (cherry picked from commit 1a870f4bf2efdd0c0dd6f3d7a13edccf8c6701cf) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 9ff93f75c06b85408d9132eab0beebdc785085d2)
This commit is contained in:
parent
1098bb33b3
commit
8591f4f0d6
@ -766,7 +766,7 @@ void tst_QHttp2Connection::headerFrameAfterRSTOutgoing()
|
||||
// Create a new stream then send and handle a new request!
|
||||
QHttp2Stream *clientStream2 = connection->createStream().unwrap();
|
||||
QSignalSpy client2HeaderReceivedSpy{ clientStream2, &QHttp2Stream::headersReceived };
|
||||
QSignalSpy client2ErrorOccurredSpy{ clientStream, &QHttp2Stream::errorOccurred };
|
||||
QSignalSpy client2ErrorOccurredSpy{ clientStream2, &QHttp2Stream::errorOccurred };
|
||||
clientStream2->sendHEADERS(headers, true);
|
||||
QVERIFY(newIncomingStreamSpy.wait());
|
||||
QHttp2Stream *serverStream2 = newIncomingStreamSpy.front().front().value<QHttp2Stream *>();
|
||||
|
Loading…
x
Reference in New Issue
Block a user