You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simplify LocalExporter cleaner function to fix failing tests (#83812)
LocalExporter must be initialized fully before it can be used in the CleanerService to clean up
indices. Nothing about its local state is needed for cleaning indices, and I don't think anything
about its initialization of monitoring resources is needed in order to delete old indices either.
Waiting for initialization can be time consuming, and thus causes some test failures in the
cleaner service. By slimming down the required state of the cleaner listener this should clear
up some of the test failures surrounding it.
Copy file name to clipboardExpand all lines: x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/local/LocalExporter.java
Copy file name to clipboardExpand all lines: x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/cleaner/AbstractIndicesCleanerTestCase.java
0 commit comments