Skip to content

Commit

Permalink
Disable MockTelemetryPlugin by default for integ tests (opensearch-pr…
Browse files Browse the repository at this point in the history
…oject#12877) (opensearch-project#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 <[email protected]>
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>
  • Loading branch information
1 parent 4d123ca commit bdcf14e
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 bdcf14e

Please sign in to comment.