File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 4848import org .elasticsearch .index .mapper .MapperMetrics ;
4949import org .elasticsearch .index .search .stats .SearchStatsSettings ;
5050import org .elasticsearch .index .shard .IndexingStatsSettings ;
51+ import org .elasticsearch .index .store .StoreMetrics ;
5152import org .elasticsearch .indices .TestIndexNameExpressionResolver ;
5253import org .elasticsearch .license .ClusterStateLicenseService ;
5354import org .elasticsearch .license .License ;
@@ -482,7 +483,8 @@ public void testOnIndexModuleIsNoOpWithSecurityDisabled() throws Exception {
482483 List .of (),
483484 new IndexingStatsSettings (ClusterSettings .createBuiltInClusterSettings ()),
484485 new SearchStatsSettings (ClusterSettings .createBuiltInClusterSettings ()),
485- MergeMetrics .NOOP
486+ MergeMetrics .NOOP ,
487+ StoreMetrics .NOOP_HOLDER
486488 );
487489 security .onIndexModule (indexModule );
488490 // indexReaderWrapper is a SetOnce so if Security#onIndexModule had already set an ReaderWrapper we would get an exception here
You can’t perform that action at this time.
0 commit comments