Skip to content

Commit 52ae79d

Browse files
authored
Disable MockTelemetryPlugin by default for integ tests (#12877)
With this plugin enabled we see significant increase in memory usage. This is due to a static map that collects Span entries per write/replication request. Tests with higher counts of independent writes are at risk of running oom or experiencing slow down / warnings related to this. Disabled the plugin by default until this is resolved given it is still under FeatureFlag. Signed-off-by: Marc Handalian <marc.handalian@gmail.com>
1 parent b985737 commit 52ae79d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/framework/src/main/java/org/opensearch/test/OpenSearchIntegTestCase.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -2070,7 +2070,8 @@ protected boolean addMockGeoShapeFieldMapper() {
20702070
* @return boolean.
20712071
*/
20722072
protected boolean addMockTelemetryPlugin() {
2073-
return true;
2073+
// setting to false until https://github.com/opensearch-project/OpenSearch/issues/12615 is resolved
2074+
return false;
20742075
}
20752076

20762077
/**

0 commit comments

Comments
 (0)