Skip to content

Commit 154d6d1

Browse files
OptionalDouble can sometimes produce nulls
1 parent 4ae875d commit 154d6d1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

server/src/test/java/org/elasticsearch/cluster/routing/allocation/allocator/NodeBalanceStatsTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ public void testSerializationWithTransportVersionNodeWeightsAddedToNodeBalanceSt
108108
assertNotEquals(UNKNOWN, deserialized.nodeId());
109109
assertNotEquals(List.of(), deserialized.roles());
110110
assertNotEquals(UNDESIRED_SHARD_ALLOCATION_DEFAULT_VALUE, deserialized.undesiredShardAllocations());
111-
assertNotNull(deserialized.nodeWeight());
112111
}
113112

114113
public void testToXContentWithoutHumanReadableNames() throws IOException {

0 commit comments

Comments
 (0)