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)

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]>
Signed-off-by: Shivansh Arora <[email protected]>
  • Loading branch information
mch2 authored and shiv0408 committed Apr 25, 2024
1 parent 4e2dc51 commit ba8f274
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2070,7 +2070,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 ba8f274

Please sign in to comment.