- 28 Sep, 2012 5 commits
-
-
Denis Bilenko authored
-
Denis Bilenko authored
-
Denis Bilenko authored
- even more relaxed comparison of IPv6 addresses - test__socket_dns.py: replace confusing VERBOSE with a more straightforward DEBUG - test__socket_dns.py: uncomment a test previously commented out
-
Denis Bilenko authored
-
Denis Bilenko authored
- testrunner.py: implement --full and --discover - setup.py now recognizes GEVENTSETUP_EV_VERIFY env var which is passed as EV_VERIFY to make - relevant env vars are now logged long test names - add support for expected failures - allow passing tests on the command line in test___monkey_patching.py - show longest running tests before final status - make exit status report number of failing tests - greentest/util.py: add 'setenv' and 'name' arguments to run() - add tests_that_dont_use_resolver.txt - add expected_failures.txt - fix test___monkey_patching.py to do clean up via atexit
-
- 26 Sep, 2012 5 commits
-
-
Denis Bilenko authored
-
Denis Bilenko authored
-
Denis Bilenko authored
-
Denis Bilenko authored
-
Denis Bilenko authored
-
- 23 Sep, 2012 7 commits
-
-
Denis Bilenko authored
in 5 more tests; this ensures more checks, esp. in debug mode
-
Denis Bilenko authored
read() in small chunks, as reading in big chunks from non-blocking fd fails on Mac OS X. Do os._exit() in "finally" section, to avoid raising an exception and thus executing unrelated code of the main process. Original patch by Vitaly Kruglikov.
-
Denis Bilenko authored
so that they pass on python-dbg
-
Denis Bilenko authored
-
Denis Bilenko authored
-
Denis Bilenko authored
-
Denis Bilenko authored
-
- 22 Sep, 2012 6 commits
-
-
Denis Bilenko authored
-
Denis Bilenko authored
-
Denis Bilenko authored
when '.' is not in host
-
Denis Bilenko authored
- extract IPv6-related tests from test__socket_dns.py and put them into test__socket_dns6.py - improve log messages
-
Denis Bilenko authored
resolver_ares.Resolver: if use_environ is True (default) then kwargs is default-set from the environment: parameter xxx is set from variable GEVENTARES_XXX (servers -> GEVENTARES_SERVERS)
-
Denis Bilenko authored
the channel class can now accept strings for c-ares parameters, such as 'servers' and 'udp_port'. This is needed to initialize c-ares directly from os.environ.
-
- 21 Sep, 2012 4 commits
-
-
Denis Bilenko authored
-
Denis Bilenko authored
[no ci]
-
Vitaly Kruglikov authored
-
Denis Bilenko authored
-
- 20 Sep, 2012 13 commits
-
-
Denis Bilenko authored
-
Denis Bilenko authored
it no longer depends on specific minor python version
-
Denis Bilenko authored
-
Denis Bilenko authored
-
Denis Bilenko authored
[ci skip]
-
Denis Bilenko authored
we no longer stores test results in a [sqlite] database
-
Denis Bilenko authored
The stdlib tests are now included in the repository. since ubuntu does not ships them in any package. The testrunner is completely rewritten. When testrunner.py was originally written a lot of tests were failing and some of them were hanging. Thus testrunner.py was focused on proving good reports and could retry the tests with a particular test case disabled if it detected time out. Now testrunner is somewhat simpler as we mostly concerned whether the tests pass or not. It also runs the tests concurrently, to improve the speed at which we get the results back from travis-ci. Some tests time execution and assert certain timings, this can fail, especially when the number of workers is bigger than cpu count. The new testrunner will re-try tests that failed in a sequential run, when nothing else is run. If this fixes the problem, the test is reported as "succeeded, but only on the second try" and does reports the whole suite as failed. .travis.yml is fixed to download binary packages for all dependencies and use system python. rename test__benchmarks.py to xtest__benchmarks.py to exclude it form testrunner.py. Exclude test__count from test_thread.py, because it uses function thread._count() we don't implement Run monkey patched tests twice, first with patch_all(), then with patch_all(Event=True)
-
Denis Bilenko authored
-
Denis Bilenko authored
if True, threading.Event is replaced with gevent.event.Event
-
Denis Bilenko authored
Previously this was handled by 'callback' setter, but that one now accepts both callable and None, so we need a separate check for None in start()
-
Denis Bilenko authored
this prevents test__all__.py from failing and prevents monkey from patching it
-
Denis Bilenko authored
(at least on linux)
-
Denis Bilenko authored
that way it does not fail when being used as class member
-