Skip to content

Commit 780c57b

Browse files
committed
fix wire tests assuming the instance should be different
1 parent 6889f1b commit 780c57b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/chunking/NoneChunkingSettingsTests.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ protected NoneChunkingSettings createTestInstance() {
2323
return NoneChunkingSettings.INSTANCE;
2424
}
2525

26+
@Override
27+
protected boolean shouldBeSame(NoneChunkingSettings newInstance) {
28+
return true;
29+
}
30+
2631
@Override
2732
protected NoneChunkingSettings mutateInstance(NoneChunkingSettings instance) throws IOException {
2833
return null;

0 commit comments

Comments
 (0)