Fixed failure of tst_qhostinfo since ~15 Jan 2012
This test hardcodes IP address / hostname pairs to be used for forward and reverse lookups. The reverse DNS entry for 62.70.27.69 has recently disappeared. Replace it with an IP / name pair which is (hopefully) much less likely to disappear. Change-Id: I03f589e1c0f4bde0b1a14e94b3c1047eeb81246e Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
This commit is contained in:
parent
e1ddac9b20
commit
78f1dd251a
@ -356,7 +356,7 @@ void tst_QHostInfo::reverseLookup_data()
|
||||
QTest::addColumn<int>("err");
|
||||
QTest::addColumn<bool>("ipv6");
|
||||
|
||||
QTest::newRow("trolltech.com") << QString("62.70.27.69") << QStringList(QString("diverse.troll.no")) << 0 << false;
|
||||
QTest::newRow("google-public-dns-a.google.com") << QString("8.8.8.8") << QStringList(QString("google-public-dns-a.google.com")) << 0 << false;
|
||||
QTest::newRow("gitorious.org") << QString("87.238.52.168") << QStringList(QString("gitorious.org")) << 0 << false;
|
||||
QTest::newRow("bogus-name") << QString("1::2::3::4") << QStringList() << 1 << true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user