mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-09 06:25:07 +00:00
parent
987b6ecffa
commit
c2506af8a6
@ -83,6 +83,7 @@ import org.elasticsearch.test.DummyShardLock;
|
|||||||
import org.elasticsearch.test.ESSingleNodeTestCase;
|
import org.elasticsearch.test.ESSingleNodeTestCase;
|
||||||
import org.elasticsearch.test.IndexSettingsModule;
|
import org.elasticsearch.test.IndexSettingsModule;
|
||||||
import org.elasticsearch.test.InternalSettingsPlugin;
|
import org.elasticsearch.test.InternalSettingsPlugin;
|
||||||
|
import org.elasticsearch.test.junit.annotations.TestIssueLogging;
|
||||||
import org.junit.Assert;
|
import org.junit.Assert;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
@ -337,6 +338,9 @@ public class IndexShardIT extends ESSingleNodeTestCase {
|
|||||||
assertPathHasBeenCleared(newIndexDataPath.toAbsolutePath());
|
assertPathHasBeenCleared(newIndexDataPath.toAbsolutePath());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestIssueLogging(
|
||||||
|
value = "org.elasticsearch.index.engine:DEBUG",
|
||||||
|
issueUrl = "https://github.com/elastic/elasticsearch/issues/52223")
|
||||||
public void testMaybeFlush() throws Exception {
|
public void testMaybeFlush() throws Exception {
|
||||||
createIndex("test", Settings.builder().put(IndexSettings.INDEX_TRANSLOG_DURABILITY_SETTING.getKey(), Translog.Durability.REQUEST)
|
createIndex("test", Settings.builder().put(IndexSettings.INDEX_TRANSLOG_DURABILITY_SETTING.getKey(), Translog.Durability.REQUEST)
|
||||||
.build());
|
.build());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user