lower the number for race tests performed in QHostInfo test

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
Ivailo Monev 2019-11-25 04:00:34 +00:00
parent 79ed7e3154
commit 89c09bdbe6

View file

@ -391,7 +391,7 @@ void tst_QHostInfo::blockingLookup()
void tst_QHostInfo::raceCondition()
{
for (int i = 0; i < 1000; ++i) {
for (int i = 0; i < 10; ++i) {
QTcpSocket socket;
socket.connectToHost("invalid" TEST_DOMAIN, 80);
}