You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test assumed that a fixed number of index+refresh iterations during
the failure phase would always accumulate enough time lag to trigger
backpressure rejection. If the test machine is slow then upload time
moving average might be inflated, raising the dynamic threshold
(avgUploadTime * 10) beyond what the time lag can reach in only 3
iterations.
Replace the fixed-iteration assertThrows with an assertBusy loop
that keeps indexing until the backpressure rejection occurs or
the 30-second timeout is reached.
Signed-off-by: Andrew Ross <andrross@amazon.com>
Copy file name to clipboardExpand all lines: server/src/internalClusterTest/java/org/opensearch/remotestore/RemoteStoreBackpressureAndResiliencyIT.java
0 commit comments