Skip to content

Commit

Permalink
Disable MockTelemetryPlugin by default for integ tests (#12877)
Browse files Browse the repository at this point in the history
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 <[email protected]>
(cherry picked from commit 52ae79d)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] committed Mar 25, 2024
1 parent 64b731c commit 8a35bb1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2112,7 +2112,8 @@ protected boolean addMockGeoShapeFieldMapper() {
* @return boolean.
*/
protected boolean addMockTelemetryPlugin() {
return true;
// setting to false until https://github.com/opensearch-project/OpenSearch/issues/12615 is resolved
return false;
}

/**
Expand Down

0 comments on commit 8a35bb1

Please sign in to comment.