Skip to content

Commit bdcf14e

Browse files
Disable MockTelemetryPlugin by default for integ tests (#12877) (#12901)
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. (cherry picked from commit 52ae79d) Signed-off-by: Marc Handalian <marc.handalian@gmail.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 4d123ca commit bdcf14e

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
@@ -2112,7 +2112,8 @@ protected boolean addMockGeoShapeFieldMapper() {
21122112
* @return boolean.
21132113
*/
21142114
protected boolean addMockTelemetryPlugin() {
2115-
return true;
2115+
// setting to false until https://github.com/opensearch-project/OpenSearch/issues/12615 is resolved
2116+
return false;
21162117
}
21172118

21182119
/**

0 commit comments

Comments
 (0)