[Checkins] [zopefoundation/zope.testrunner] 3da65c: fixing #28, auto add a fake layer when -j is used

GitHub noreply at github.com
Thu May 21 09:45:01 CEST 2015


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/zope.testrunner
  Commit: 3da65cbe7b8eb1435acbb68f9498045239373c9e
      https://github.com/zopefoundation/zope.testrunner/commit/3da65cbe7b8eb1435acbb68f9498045239373c9e
  Author: Adam Groszer <agroszer at gmail.com>
  Date:   2015-05-19 (Tue, 19 May 2015)

  Changed paths:
    M src/zope/testrunner/layer.py
    M src/zope/testrunner/runner.py
    M src/zope/testrunner/tests/testrunner-ex/sampletests_buffering.py
    M src/zope/testrunner/tests/testrunner-layers-buff.txt
    M src/zope/testrunner/tests/testrunner-layers-cwd.txt
    M src/zope/testrunner/tests/testrunner-layers.txt

  Log Message:
  -----------
  fixing #28, auto add a fake layer when -j is used


  Commit: 9b6e53560ed9a7a2e45603377027233a01abf7c9
      https://github.com/zopefoundation/zope.testrunner/commit/9b6e53560ed9a7a2e45603377027233a01abf7c9
  Author: Adam Groszer <agroszer at gmail.com>
  Date:   2015-05-20 (Wed, 20 May 2015)

  Changed paths:
    M src/zope/testrunner/layer.py
    M src/zope/testrunner/runner.py
    M src/zope/testrunner/tests/testrunner-layers-buff.txt
    M src/zope/testrunner/tests/testrunner-layers-cwd.txt
    M src/zope/testrunner/tests/testrunner-layers.txt

  Log Message:
  -----------
  rename FakeMultiProcessLayer->EmptyLayer, use a simpler EmptySuite


  Commit: 2d815bddcba3edd1a7769224c6043bbafbd11313
      https://github.com/zopefoundation/zope.testrunner/commit/2d815bddcba3edd1a7769224c6043bbafbd11313
  Author: Adam Groszer <agroszer at gmail.com>
  Date:   2015-05-20 (Wed, 20 May 2015)

  Changed paths:
    M src/zope/testrunner/tests/testrunner-ex/sampletests_buffering.py

  Log Message:
  -----------
  let's try 0.2


  Commit: 7fc36e596d3252bbfcaee467ad25aefac10c9481
      https://github.com/zopefoundation/zope.testrunner/commit/7fc36e596d3252bbfcaee467ad25aefac10c9481
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2015-05-21 (Thu, 21 May 2015)

  Changed paths:
    M src/zope/testrunner/tests/testrunner-layers-buff.txt

  Log Message:
  -----------
  Fix non-determinism in testrunner-layers-buff.txt

This part of the test needs just one layer, running in a subprocess.
The -j2 is necessary because the output differs (those [Parallel ...]
sections), but we don't actually need multiple parallel layers.  We had
two to force the 2nd layer to run in a subprocess, but now the test
runner adds such a layer for us automatically, when -j is used.

BTW it's useful to see th original commit where this test was added
(https://github.com/zopefoundation/zope.testing/commit/701f9911873f45cdbfde5a3409a04b93a35f2935)
in order to understand its original purpose.


  Commit: 56bda399467eb959095cb6a59f1b320f4155634f
      https://github.com/zopefoundation/zope.testrunner/commit/56bda399467eb959095cb6a59f1b320f4155634f
  Author: Adam Groszer <agroszer at gmail.com>
  Date:   2015-05-21 (Thu, 21 May 2015)

  Changed paths:
    M src/zope/testrunner/tests/testrunner-ex/sampletests_buffering.py

  Log Message:
  -----------
  sleep not needed anymore


  Commit: cf5b988894f6f6f23824ab945659e5eee70995ca
      https://github.com/zopefoundation/zope.testrunner/commit/cf5b988894f6f6f23824ab945659e5eee70995ca
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2015-05-21 (Thu, 21 May 2015)

  Changed paths:
    M src/zope/testrunner/layer.py
    M src/zope/testrunner/runner.py
    M src/zope/testrunner/tests/testrunner-layers-buff.txt
    M src/zope/testrunner/tests/testrunner-layers-cwd.txt
    M src/zope/testrunner/tests/testrunner-layers.txt

  Log Message:
  -----------
  Merge pull request #29 from agroszer/master

Auto add an empty layer when -j is used

Fixes #28.


Compare: https://github.com/zopefoundation/zope.testrunner/compare/141d851478b7...cf5b988894f6


More information about the checkins mailing list