diff options
author | James Broadhead <jbroadhead@twitter.com> | 2014-08-09 18:21:44 +0100 |
---|---|---|
committer | Roger Meier <roger@apache.org> | 2014-08-10 21:26:17 +0200 |
commit | 79c3f4a7311e91dbd3edd85a30c54b2ccce57781 (patch) | |
tree | 53a1dfe5469ab6322324c865a60aed6716f01afe /aclocal | |
parent | 862218ec1380e62ed413bb3c25a9f6b72d154212 (diff) | |
download | thrift-79c3f4a7311e91dbd3edd85a30c54b2ccce57781.tar.gz |
THRIFT-2657 Fix spurious test failures in py:twisted
- py.twisted/test_suite.py:ThriftTestCase.testOneway relies on
testOneWay executing in less than 0.04 seconds (since it sleeps for 2
seconds, then asserts that 2s - <time> ~= 0). On slow, or loaded
machines this may fail. Switch this to sleep for 1 second, then have a
tolerance of 0.4s for the deferred resolution.
- Removes a dud return d from testOneWay.
- Remove '*' import & dud 'import random'. This file now passes
pyflakes.
- Strip trailing whitespace
This closes #181
Jira: THRIFT-2657
Signed-off-by: Roger Meier <roger@apache.org>
Diffstat (limited to 'aclocal')
0 files changed, 0 insertions, 0 deletions