mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-25 01:19:02 +00:00
[Test] don't use the shard AnalyzeAction when checking action mapping
Original commit: elastic/x-pack-elasticsearch@6501695edf
This commit is contained in:
parent
1e63141bf2
commit
92e6d301f2
@ -38,7 +38,8 @@ public class ShieldActionMapperTests extends ElasticsearchTestCase {
|
||||
randomAction = randomAsciiOfLength(randomIntBetween(1, 30));
|
||||
}
|
||||
} while (randomAction.equals(ClearScrollAction.NAME) ||
|
||||
randomAction.equals(AnalyzeAction.NAME));
|
||||
randomAction.equals(AnalyzeAction.NAME) ||
|
||||
randomAction.equals(AnalyzeAction.NAME + "[s]"));
|
||||
|
||||
assertThat(shieldActionMapper.action(randomAction, null), equalTo(randomAction));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user