Directories like 2016-01-17_13-41-32 are created in the current working directory and not removed when running ElasticTimeOutStrategyTest.
It looks caused for mocked Build creates its root directory when instantiated.
This change creates a temporary directory in the test case, and create build directories in it.
That temporary directory is removed with tearDown.
Directories like
2016-01-17_13-41-32
are created in the current working directory and not removed when runningElasticTimeOutStrategyTest
. It looks caused for mockedBuild
creates its root directory when instantiated.This change creates a temporary directory in the test case, and create build directories in it. That temporary directory is removed with
tearDown
.