An error occurred fetching the project authors.
  1. 05 Apr, 2016 1 commit
  2. 10 Feb, 2016 1 commit
    • Jason Madden's avatar
      Update 2.7 tests to 2.7.11. Fixes #735. · 8600b68d
      Jason Madden authored
      Also update the test_ssl.py to cpython rev 2c9ff9e (head). This fixes the
      problems with invalid certs for svn.python.org.
      
      These tests include much more testing of the new-in-2.7.9 SSLContext
      settings, which revealed some problems in our hostname validation, our
      handling of read/write/do_handshake for closed sockets, and the missing
      alpn_selected method.
      8600b68d
  3. 25 Mar, 2015 1 commit
    • Jason Madden's avatar
      Working on gevent/gevent#546 for CPython only. · 00ed793f
      Jason Madden authored
      Fixes several test failures under 2.7.9, notably test__pywsgi and test__ssl.
      There are lots of whitespace differences in the tests due to forking for CPython
      <= 2.7.8.
      
      The complete failure list follows.
      
      The ONLY failure in 2.7/test_ssl has this traceback; I'm not sure what the cause is yet:
      
        ======================================================================
        ERROR: test_protocol_sslv2 (__main__.ThreadedTests)
        ----------------------------------------------------------------------
        Traceback (most recent call last):
          File "test_ssl.py", line 71, in f
            return func(*args, **kwargs)
          File "test_ssl.py", line 1205, in test_protocol_sslv2
            try_protocol_combo(ssl.PROTOCOL_SSLv2, ssl.PROTOCOL_SSLv23, True)
          File "test_ssl.py", line 979, in try_protocol_combo
            chatty=False, connectionchatty=False)
          File "test_ssl.py", line 909, in server_params_test
            s.connect((HOST, server.port))
          File "/gevent/gevent/_sslgte279.py", line 546, in connect
            self._real_connect(addr, False)
          File "/gevent/gevent/_sslgte279.py", line 537, in _real_connect
            self.do_handshake()
          File "/gevent/gevent/_sslgte279.py", line 504, in do_handshake
            return self._sslobj.do_handshake()
        SSLEOFError: EOF occurred in violation of protocol (_ssl.c:581)
      
        ----------------------------------------------------------------------
      
      3/123 expected failures
       - //bin/python -u -m monkey_test test_ssl.py
       - //bin/python -u test__socket_dns6.py
       - //bin/python -u -m monkey_test --Event test_ssl.py
      
      4/123 unexpected failures
       - //bin/python -u test__all__.py
       - //bin/python -u test_ares_timeout.py
       - //bin/python -u -m monkey_test test_httpservers.py
       - //bin/python -u -m monkey_test --Event test_httpservers.py
      00ed793f
  4. 20 Sep, 2012 2 commits
    • Denis Bilenko's avatar
      fix test___monkey_patching.py · f9105889
      Denis Bilenko authored
      it no longer depends on specific minor python version
      f9105889
    • Denis Bilenko's avatar
      many fixes for the testsuite; rewrite testrunner · d98833c9
      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)
      d98833c9
  5. 14 Sep, 2012 1 commit
    • Denis Bilenko's avatar
      include tests from stdlib/2.7.3 · fbbd9a3c
      Denis Bilenko authored
      that way test runner does not fail on ubuntu where this tests are not available
      a new test__monkey_patching.py is added which runs all stdlib tests
      fbbd9a3c
  6. 29 Jan, 2010 1 commit