##// END OF EJS Templates
run-tests: fix race condition...
run-tests: fix race condition Before this patch, it was possible for run-tests to crash on a race condition. The race condition happens in the following case: - the last test finishes and calls: done.put(None) - the context switches to the main thread that clears the channels list - the context switches to the last test mentioned above, it tries to access channels[channel] and crashes This happened to me while running run-tests. This patch fixes the issue by clearing the channel before considering that the test is done.

File last commit:

r25708:d3d32643 default
r27926:4c6053a6 stable
Show More
test-wireproto.py.out
2 lines | 49 B | text/plain | TextLexer
/ tests / test-wireproto.py.out
Thomas Arendsen Hein
test-wireprotocol.py: rename to test-wireproto.py for consistency...
r14765 Hello, Foobar
Augie Fackler
wireproto: correctly escape batched args and responses (issue4739)...
r25708 ['Hello, Fo, =;:<o', 'Hello, Bar']