diff options
Diffstat (limited to 'examples/imapresource/tests/imapserverproxytest.cpp')
-rw-r--r-- | examples/imapresource/tests/imapserverproxytest.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/imapresource/tests/imapserverproxytest.cpp b/examples/imapresource/tests/imapserverproxytest.cpp index ec5df49..476066d 100644 --- a/examples/imapresource/tests/imapserverproxytest.cpp +++ b/examples/imapresource/tests/imapserverproxytest.cpp | |||
@@ -51,7 +51,8 @@ private slots: | |||
51 | 51 | ||
52 | void testLoginFailure() | 52 | void testLoginFailure() |
53 | { | 53 | { |
54 | ImapServerProxy imap("foobar", 993); | 54 | //Using a bogus ip instead of a bogus hostname avoids getting stuck in the hostname lookup |
55 | ImapServerProxy imap("111.111.1.1", 993); | ||
55 | VERIFYEXEC_FAIL(imap.login("doe", "doe")); | 56 | VERIFYEXEC_FAIL(imap.login("doe", "doe")); |
56 | } | 57 | } |
57 | 58 | ||