Skip to content

Commit ba8f274

Browse files
mch2shiv0408
authored andcommitted
Disable MockTelemetryPlugin by default for integ tests (opensearch-project#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> Signed-off-by: Shivansh Arora <hishiv@amazon.com>
1 parent 4e2dc51 commit ba8f274

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)