Skip to content

Commit 4ac3697

Browse files
committed
adjust test
1 parent af4cbd3 commit 4ac3697

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

server/src/test/java/org/elasticsearch/index/shard/IndexShardTests.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4563,10 +4563,9 @@ public void testResetEngine() throws Exception {
45634563
var newEngineCreated = new CountDownLatch(2);
45644564
var indexShard = newStartedShard(true, Settings.EMPTY, config -> {
45654565
try {
4566-
return new ReadOnlyEngine(config, null, null, true, Function.identity(), true, true) {
4566+
return new ReadOnlyEngine(config, null, new TranslogStats(), false, Function.identity(), true, true) {
45674567
@Override
45684568
public void prepareForEngineReset() throws IOException {
4569-
;
45704569
}
45714570
};
45724571
} finally {

0 commit comments

Comments
 (0)