[issue21070] test_xmlrpc waits forever instead of reporting failure

2020-11-18 Thread Irit Katriel


Change by Irit Katriel :


--
versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.2, Python 3.3, Python 
3.4, Python 3.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21070] test_xmlrpc waits forever instead of reporting failure

2014-03-26 Thread jan matejek

New submission from jan matejek:

Testcases derived from BaseServerTestCase will launch a server process in a 
separate thread. This server will shut itself down after handling a specified 
number of requests. If the test case fails before performing enough requests, 
the server thread will continue to wait indefinitely.

Fix for issue 14001 removed timeout from the wait on server thread, so now if a 
test fails, it will hang forever.

To reproduce: put self.assertTrue(False) at start of any testcase.

This matters in two cases:
1. If a testcase performs more than one request, an assertion failure on the 
first one will freeze the rest
2. If you make a mistake when writing a testcase, the test will hang instead of 
telling you that you did something wrong, and with no indication of what caused 
the problem (because your testcase won't be part of the backtrace when you 
break the wait)

--
components: Tests
messages: 214902
nosy: matejcik
priority: normal
severity: normal
status: open
title: test_xmlrpc waits forever instead of reporting failure
type: behavior
versions: Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4, Python 3.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21070
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21070] test_xmlrpc waits forever instead of reporting failure

2014-03-26 Thread jan matejek

Changes by jan matejek jmate...@suse.cz:


--
versions:  -Python 2.7, Python 3.1

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21070
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21070] test_xmlrpc waits forever instead of reporting failure

2014-03-26 Thread R. David Murray

R. David Murray added the comment:

It hung before the changes as well.  On the other hand, before the removal of 
the timeout value, it at least displayed an error *before* hanging, so I think 
absent a proper fix the timeout at least should be restored.

--
nosy: +r.david.murray

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21070
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com