mirror of https://github.com/apache/druid.git
Fix incorrect tests in Sting first/last serde's null handling (#15657)
Fixes a couple of incorrect test cases, that got merged accidentally
This commit is contained in:
parent
d623756c66
commit
0b91cc4db2
|
@ -59,7 +59,7 @@ public class BackwardCompatibleSerializablePairLongStringSimpleStagedSerdeTest
|
|||
SerializablePairLongString value = new SerializablePairLongString(Long.MAX_VALUE, null);
|
||||
// Write using the older serde, read using the newer serde
|
||||
Assert.assertEquals(
|
||||
new SerializablePairLongString(Long.MAX_VALUE, ""),
|
||||
new SerializablePairLongString(Long.MAX_VALUE, null),
|
||||
readUsingSerde(writeUsingSerde(value, OLDER_SERDE), SERDE)
|
||||
);
|
||||
// Write using the newer serde, read using the older serde
|
||||
|
@ -77,7 +77,7 @@ public class BackwardCompatibleSerializablePairLongStringSimpleStagedSerdeTest
|
|||
SerializablePairLongString value = new SerializablePairLongString(Long.MAX_VALUE, "");
|
||||
// Write using the older serde, read using the newer serde
|
||||
Assert.assertEquals(
|
||||
new SerializablePairLongString(Long.MAX_VALUE, ""),
|
||||
new SerializablePairLongString(Long.MAX_VALUE, null),
|
||||
readUsingSerde(writeUsingSerde(value, OLDER_SERDE), SERDE)
|
||||
);
|
||||
// Write using the newer serde, read using the older serde
|
||||
|
|
Loading…
Reference in New Issue