1. 02 Sep, 2022 1 commit
    • Kirill Smelkov's avatar
      fixup! Run tests at all levels · 06f8e146
      Kirill Smelkov authored
      @d-maurer notes that --all on the command line prevents using `-a X` on
      the tox command line, e.g. as in `tox -- -a 1` because `--all` takes
      precedence over `-a`:
      
      https://github.com/zopefoundation/ZEO/pull/210#pullrequestreview-1094352596
      
      Work this around via `-a 1000` used inside tox -> then, any `-a X`
      passed to tox on command line will take precedence over the default
      `-a 1000`.
      
      Note: Dieter suggested to use `-a 0` as the default, probably because
      zope-testrunner documents that "level 0 runs all tests". But
      unfortunately it is not true because `-a 0` disables tests on any level
      >= 0:
      
      https://github.com/zopefoundation/zope.testrunner/blob/eab00d6f/src/zope/testrunner/find.py#L471-L473
      
      (z-dev) kirr@deca:~/src/wendelin/z/ZEO5$ zope-testrunner -uvvx -a 0 --test-path=src
      Running tests at level 0
      Total: 0 tests, 0 failures, 0 errors and 0 skipped in 0.000 seconds.
      
      (z-dev) kirr@deca:~/src/wendelin/z/ZEO5$ zope-testrunner -uvvx -a 1 --test-path=src
      Running tests at level 1
      Running zope.testrunner.layer.UnitTests tests:
        Set up zope.testrunner.layer.UnitTests in 0.000 seconds.
        Running:
       testClientBasics (ZEO.asyncio.tests.ClientTests)
       test_ClientDisconnected_on_call_timeout (ZEO.asyncio.tests.ClientTests)
       test_bad_protocol (ZEO.asyncio.tests.ClientTests)
       test_bad_server_tid (ZEO.asyncio.tests.ClientTests)
      ...
      06f8e146
  2. 01 Sep, 2022 1 commit
  3. 02 Aug, 2022 1 commit
  4. 01 Jun, 2022 1 commit
  5. 31 May, 2022 1 commit
  6. 30 May, 2022 1 commit
  7. 23 May, 2022 1 commit
    • Kirill Smelkov's avatar
      tests: Drop use of random2 · cc84605e
      Kirill Smelkov authored
      We can use stdlib random module and manually adjust randint to behave
      exactly as before Python3, so that testdata are matched exactly as before.
      
      Also drop unnecessary `random.seed(42)` in cache_run. It is not needed
      there because random is not used in cache_run at all.
      
      Based on work of @d-maurer in https://github.com/zopefoundation/ZEO/pull/195 .
      cc84605e
  8. 11 Apr, 2022 1 commit
  9. 09 Apr, 2022 2 commits
  10. 07 Apr, 2022 7 commits
  11. 06 Apr, 2022 3 commits
  12. 05 Apr, 2022 1 commit
  13. 31 Mar, 2022 4 commits
  14. 30 Mar, 2022 2 commits
  15. 24 Mar, 2022 5 commits
  16. 19 Mar, 2022 7 commits
  17. 18 Mar, 2022 1 commit
    • dieter's avatar
      fix · 0e70fd26
      dieter authored
      0e70fd26