override retry attempts for InputEntityIteratingReaderTest for much faster test run (#14897)

This commit is contained in:
Clint Wylie 2023-08-22 22:01:47 -07:00 committed by GitHub
parent fb053c399c
commit 7b5012ea6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -125,6 +125,15 @@ public class InputEntityIteratingReaderTest extends InitializedNullHandlingTest
),
ImmutableList.of(
new HttpEntity(new URI("testscheme://some/path"), null, null)
{
@Override
protected int getMaxRetries()
{
// override so this test does not take like 4 minutes to run
return 2;
}
}
).iterator(),
temporaryFolder.newFolder()
);