Closed
Description
When the Linux kernel is built without IPV6 support, the RedirectFromPageWithContentIP6
test never completes, as it doesn't go past while(!svr.is_running())
(line 974).
Lines 955 to 1013 in 3c52238
I believe that this happens because when IPV6 support isn't available svr.listen("::1", 1234)
never actually starts anything, so the condition !svr.is_running()
will always remain true.
A possible solution would be to only wait for a few seconds, and if svr does not start abort the test
Edit: Since Server::listen()
returns false
on failure, it may be more appropriate to do something like ASSERT_TRUE(svr.listen("::1", 1234))
Edit2: ASSERT_TRUE
in the other thread doesn't work
Metadata
Assignees
Labels
No labels