This is an automated email from the ASF dual-hosted git repository.
cwylie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git
The following commit(s) were added to refs/heads/master by this push:
new 7b5012ea6e override retry attempts for InputEntityIteratingReaderTest
for much faster test run (#14897)
7b5012ea6e is described below
commit 7b5012ea6e3796851040a1ba316018d43343682a
Author: Clint Wylie <[email protected]>
AuthorDate: Tue Aug 22 22:01:47 2023 -0700
override retry attempts for InputEntityIteratingReaderTest for much faster
test run (#14897)
---
.../druid/data/input/impl/InputEntityIteratingReaderTest.java | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git
a/processing/src/test/java/org/apache/druid/data/input/impl/InputEntityIteratingReaderTest.java
b/processing/src/test/java/org/apache/druid/data/input/impl/InputEntityIteratingReaderTest.java
index 41d191b36b..9e175b2a3d 100644
---
a/processing/src/test/java/org/apache/druid/data/input/impl/InputEntityIteratingReaderTest.java
+++
b/processing/src/test/java/org/apache/druid/data/input/impl/InputEntityIteratingReaderTest.java
@@ -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()
);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]