From: K. G. <kim...@gm...> - 2008-09-02 12:27:19
|
Hi guys, The localhost_tests suite is failing for me, out of the box, with the following: -- Running 12 test cases... libs/network/test/localhost_tests.cpp(190): error in "text_file_query": check body(response_).length() == size failed [113 != 117] libs/network/test/localhost_tests.cpp(260): fatal error in "cgi_query": exception thrown by r = c.get(req) libs/network/test/localhost_tests.cpp(271): fatal error in "cgi_multi_line_headers": exception thrown by r = c.get(req) *** 3 failures detected in test suite "http 1.0 localhost tests" -- This is on Windows XP SP2, VC 9.0 (no service pack), Boost 1.37 (straight from the SVN trunk) and Python 2.5.2. I haven't investigated the latter two closely (it appears they aren't getting any body whatsoever), but the first one is strange. The file size of test.xml, according to Windows Explorer, is 117 bytes, but the Python script is only serving 113 bytes (I checked this with Firefox as a client as well). So... I'm not sure where it's going wrong. Any ideas on where to start looking? It looks like it might be some kind of encoding mismatch, perhaps? Also, there seems to be a race condition where the tests occasionally launch before Python has had a chance to start, but I think that may be solvable by extracting the server start out into a global fixture (something I'm working on here -- patch coming). Thanks for any input on the first issue! - Kim |