Skip to content

Commit

Permalink
Fix IndexRecoveryIT#testSourceThrottling
Browse files Browse the repository at this point in the history
Ensure that the target node has a high enough recovery max bytes
per second to avoid any accidental throttling.

Closes elastic#110026
  • Loading branch information
fcofdez committed Jun 21, 2024
1 parent d080ca8 commit e259e1e
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,10 @@ public void testRerouteRecovery() throws Exception {
.size();

logger.info("--> start node B");
final String nodeB = internalCluster().startNode();
final String nodeB = internalCluster().startNode(
// Ensure that the target node has a high enough recovery max bytes per second to avoid any throttling
Settings.builder().put(RecoverySettings.INDICES_RECOVERY_MAX_BYTES_PER_SEC_SETTING.getKey(), "200mb")
);

ensureGreen();

Expand Down

0 comments on commit e259e1e

Please sign in to comment.