The dockertest/ directory has been moved into test/ and
it has been renamed 3nodetest/ in commit 28cf220d
(dockertest -> test/3nodetest).
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
We use make test as the measure of correctness.
This laxity has let bugs creep into several systems.
This commit changes our target to always run expensive
tests, unless one specifically runs `make test_short`
(we would do well to remove most if not all timing--
that's usually what makes tests take a long time.)
this commit changes how the dockertest image is built.
it moves the command into dockertest/Makefile. It also
uses a cached file that -- if removed with make clean
-- can signal whether the image should be rebuilt.
(it may be ideal to have it either detect code has
changed, or just rebuild every time. )
Now 'make test' will run the go tests with option -test.short
and the sharness tests without any option.
And 'make test_expensive' will run the go tests without any
option and the sharness tests with option TEST_EXPENSIVE=1.
This should help fix the first part of issue #283.
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>