Skip to content

Commit 6799147

Browse files
committed
Remove smoke test section in MetadataCreateIndexServiceTests
1 parent e7a8877 commit 6799147

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

server/src/test/java/org/elasticsearch/cluster/metadata/MetadataCreateIndexServiceTests.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
package org.elasticsearch.cluster.metadata;
1111

1212
import org.apache.lucene.util.automaton.Automaton;
13-
import org.apache.lucene.util.automaton.CharacterRunAutomaton;
14-
import org.apache.lucene.util.automaton.Operations;
1513
import org.apache.lucene.util.automaton.RegExp;
1614
import org.elasticsearch.ExceptionsHelper;
1715
import org.elasticsearch.ResourceAlreadyExistsException;
@@ -607,12 +605,6 @@ public void testValidateDotIndex() {
607605
List<SystemIndexDescriptor> systemIndexDescriptors = new ArrayList<>();
608606
systemIndexDescriptors.add(SystemIndexDescriptorUtils.createUnmanaged(".test-one*", "test"));
609607
Automaton patternAutomaton = new RegExp("\\.test-~(one.*)", RegExp.ALL | RegExp.DEPRECATED_COMPLEMENT).toAutomaton();
610-
assertTrue(
611-
new CharacterRunAutomaton(Operations.determinize(patternAutomaton, Operations.DEFAULT_DETERMINIZE_WORK_LIMIT)).run(
612-
".test-~(one.*)"
613-
)
614-
);
615-
// TODO remove this smoke test ^^^ once the issue is fixed
616608

617609
systemIndexDescriptors.add(SystemIndexDescriptorUtils.createUnmanaged(".test-~(one*)", "test"));
618610
systemIndexDescriptors.add(SystemIndexDescriptorUtils.createUnmanaged(".pattern-test*", "test-1"));

0 commit comments

Comments
 (0)