Skip to content

TESTS: Fix Race Condition in Temp Path Creation (#33352)#33370

Merged
original-brownbear merged 1 commit intoelastic:6.xfrom
original-brownbear:33344-6.x
Sep 4, 2018
Merged

TESTS: Fix Race Condition in Temp Path Creation (#33352)#33370
original-brownbear merged 1 commit intoelastic:6.xfrom
original-brownbear:33344-6.x

Conversation

@original-brownbear
Copy link
Copy Markdown
Contributor

Backport PR just to run Jenkins

* TESTS: Fix Race Condition in Temp Path Creation

* Calling `createTempDir` concurrently here in
the `Follower`s causes collisions at times
which lead to `createEngine` throwing because
of unexpected files in the newly created temp
dir
   * Fixed by creating all temp dirs in the main test thread
* closes #33344
@original-brownbear original-brownbear added >test Issues or PRs that are addressing/adding tests :Distributed/Engine Anything around managing Lucene and the Translog in an open shard. labels Sep 4, 2018
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-distributed

@original-brownbear original-brownbear merged commit bc8dcd6 into elastic:6.x Sep 4, 2018
@original-brownbear original-brownbear deleted the 33344-6.x branch September 4, 2018 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed/Engine Anything around managing Lucene and the Translog in an open shard. >test Issues or PRs that are addressing/adding tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants