Skip to content

Commit

Permalink
Disable MockTelemetryPlugin by default for integ tests
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]>
  • Loading branch information
mch2 committed Mar 22, 2024
1 parent ac0bb83 commit 6a8dbd7
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 6a8dbd7

Please sign in to comment.