Fix typo in comment in IndexShardTestCase

This commit fixes a silly typo in IndexShardTestCase.java.
This commit is contained in:
Jason Tedor 2017-05-04 21:03:52 -04:00
parent a01f846226
commit 61d5eddbd6
1 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,7 @@ public abstract class IndexShardTestCase extends ESTestCase {
@Nullable EngineFactory engineFactory, @Nullable EngineFactory engineFactory,
IndexingOperationListener... listeners) IndexingOperationListener... listeners)
throws IOException { throws IOException {
// add node id as name to settings for popper logging // add node id as name to settings for proper logging
final ShardId shardId = routing.shardId(); final ShardId shardId = routing.shardId();
final NodeEnvironment.NodePath nodePath = new NodeEnvironment.NodePath(createTempDir()); final NodeEnvironment.NodePath nodePath = new NodeEnvironment.NodePath(createTempDir());
ShardPath shardPath = new ShardPath(false, nodePath.resolve(shardId), nodePath.resolve(shardId), shardId); ShardPath shardPath = new ShardPath(false, nodePath.resolve(shardId), nodePath.resolve(shardId), shardId);