comparison tests/test-lrucachedict.py @ 24330:799bc18e14d1

run-tests: avoid running the same test instance concurrently There's a fair amount of mutable state stored on test case instances. That causes many weird failures if you try to do something like `run-tests.py -j16 --loop test-help.t`. The quick fix is this slightly weird test-reloading dance, which ensures that every time a test is executed it runs on a fresh instance of the TestCase subclass.
author Augie Fackler <augie@google.com>
date Fri, 13 Mar 2015 12:47:16 -0400
parents 887ffa22fd0d
children 45d996a566d7
comparison
equal deleted inserted replaced
24329:e7ca4d4b10e1 24330:799bc18e14d1