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 8f3df7455e2 test: fix junit5 migration conflict IndexSpecTest (#19326)
8f3df7455e2 is described below
commit 8f3df7455e2d35574b05c254e6c2dee344e43f3f
Author: Clint Wylie <[email protected]>
AuthorDate: Wed Apr 15 13:24:33 2026 -0700
test: fix junit5 migration conflict IndexSpecTest (#19326)
---
.../src/test/java/org/apache/druid/segment/IndexSpecTest.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
a/processing/src/test/java/org/apache/druid/segment/IndexSpecTest.java
b/processing/src/test/java/org/apache/druid/segment/IndexSpecTest.java
index 4cb4194bf5c..7b17bb68e3c 100644
--- a/processing/src/test/java/org/apache/druid/segment/IndexSpecTest.java
+++ b/processing/src/test/java/org/apache/druid/segment/IndexSpecTest.java
@@ -77,10 +77,10 @@ public class IndexSpecTest
final String json = "{ \"stringColumnFormatSpec\" : { \"maxStringLength\"
: 50 } }";
final IndexSpec spec = objectMapper.readValue(json, IndexSpec.class);
- Assert.assertNotNull(spec.getStringColumnFormatSpec());
- Assert.assertEquals(Integer.valueOf(50),
spec.getStringColumnFormatSpec().getMaxStringLength());
+ Assertions.assertNotNull(spec.getStringColumnFormatSpec());
+ Assertions.assertEquals(Integer.valueOf(50),
spec.getStringColumnFormatSpec().getMaxStringLength());
- Assert.assertEquals(spec,
objectMapper.readValue(objectMapper.writeValueAsBytes(spec), IndexSpec.class));
+ Assertions.assertEquals(spec,
objectMapper.readValue(objectMapper.writeValueAsBytes(spec), IndexSpec.class));
}
@Test
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]