mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 02:14:54 +00:00
Move ModuleTestCase into framework
This commit is contained in:
parent
baacabf9fa
commit
686627be5a
@ -90,6 +90,17 @@ public class SettingsFilterTests extends ESTestCase {
|
||||
.put("baz", "baz_test")
|
||||
.build()
|
||||
);
|
||||
|
||||
testFiltering(Settings.builder()
|
||||
.put("a.b.something.d", "foo_test")
|
||||
.put("a.b.something.c", "foo1_test")
|
||||
.build(),
|
||||
Settings.builder()
|
||||
.put("a.b.something.c", "foo1_test")
|
||||
.build(),
|
||||
"a.b.*.d"
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
private void testFiltering(Settings source, Settings filtered, String... patterns) throws IOException {
|
||||
|
Loading…
x
Reference in New Issue
Block a user