File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
server/src/test/java/org/elasticsearch/cluster/metadata Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change 1010package org .elasticsearch .cluster .metadata ;
1111
1212import org .apache .lucene .util .automaton .Automaton ;
13- import org .apache .lucene .util .automaton .CharacterRunAutomaton ;
14- import org .apache .lucene .util .automaton .Operations ;
1513import org .apache .lucene .util .automaton .RegExp ;
1614import org .elasticsearch .ExceptionsHelper ;
1715import 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" ));
You can’t perform that action at this time.
0 commit comments