This is an automated email from the ASF dual-hosted git repository.
clintropolis 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 edcd3f8776c fix(server): master branch CI failure (#20106)
edcd3f8776c is described below
commit edcd3f8776ca0d19d3df4e72cf52f969eae95bff
Author: Frank Chen <[email protected]>
AuthorDate: Sat Aug 22 03:03:11 2026 +0800
fix(server): master branch CI failure (#20106)
---
server/pom.xml | 15 ---------------
.../DataSourceCompactibleSegmentIteratorTest.java | 16 ++++++++--------
2 files changed, 8 insertions(+), 23 deletions(-)
diff --git a/server/pom.xml b/server/pom.xml
index 0e61cf1f08a..c0bb690448b 100644
--- a/server/pom.xml
+++ b/server/pom.xml
@@ -338,21 +338,11 @@
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>
- <dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter-migrationsupport</artifactId>
- <scope>test</scope>
- </dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<scope>test</scope>
</dependency>
- <dependency>
- <groupId>org.junit.vintage</groupId>
- <artifactId>junit-vintage-engine</artifactId>
- <scope>test</scope>
- </dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
@@ -424,11 +414,6 @@
</exclusion>
</exclusions>
</dependency>
- <dependency>
- <groupId>pl.pragmatists</groupId>
- <artifactId>JUnitParams</artifactId>
- <scope>test</scope>
- </dependency>
<dependency>
<groupId>com.github.stefanbirkner</groupId>
<artifactId>system-rules</artifactId>
diff --git
a/server/src/test/java/org/apache/druid/server/compaction/DataSourceCompactibleSegmentIteratorTest.java
b/server/src/test/java/org/apache/druid/server/compaction/DataSourceCompactibleSegmentIteratorTest.java
index 0c626d01e53..fa3da275ced 100644
---
a/server/src/test/java/org/apache/druid/server/compaction/DataSourceCompactibleSegmentIteratorTest.java
+++
b/server/src/test/java/org/apache/druid/server/compaction/DataSourceCompactibleSegmentIteratorTest.java
@@ -177,11 +177,11 @@ public class DataSourceCompactibleSegmentIteratorTest
);
// The DAY bucket overlaps the skip interval, so none of its segments
should be picked up for compaction.
- Assert.assertFalse(iterator.hasNext());
+ Assertions.assertFalse(iterator.hasNext());
final List<CompactionCandidate> skipped = iterator.getSkippedSegments();
- Assert.assertEquals(1, skipped.size());
- Assert.assertEquals(Intervals.of("2018-01-01/2018-01-02"),
skipped.getFirst().getUmbrellaInterval());
- Assert.assertEquals(24, skipped.getFirst().getSegments().size());
+ Assertions.assertEquals(1, skipped.size());
+ Assertions.assertEquals(Intervals.of("2018-01-01/2018-01-02"),
skipped.getFirst().getUmbrellaInterval());
+ Assertions.assertEquals(24, skipped.getFirst().getSegments().size());
}
@Test
@@ -212,11 +212,11 @@ public class DataSourceCompactibleSegmentIteratorTest
FINGERPRINT_MAPPER
);
- Assert.assertFalse(iterator.hasNext());
+ Assertions.assertFalse(iterator.hasNext());
final List<CompactionCandidate> skipped = iterator.getSkippedSegments();
- Assert.assertEquals(1, skipped.size());
- Assert.assertEquals(24, skipped.getFirst().getSegments().size());
- Assert.assertEquals(
+ Assertions.assertEquals(1, skipped.size());
+ Assertions.assertEquals(24, skipped.getFirst().getSegments().size());
+ Assertions.assertEquals(
StringUtils.format("Interval[%s] skipped by compaction config",
Intervals.ETERNITY),
skipped.getFirst().getCurrentStatus().getReason()
);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]