We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92d0069 commit 381222cCopy full SHA for 381222c
cmd/otel-allocator/allocation/per_node_test.go
@@ -97,7 +97,7 @@ func TestAllocationPerNode(t *testing.T) {
97
// one of the others, depending on the strategy and collector loop order
98
if targetHash == thirdTarget.Hash() {
99
assert.Empty(t, item.GetNodeName())
100
- assert.LessOrEqual(t, len(itemsForCollector), 2)
+ assert.NotZero(t, len(itemsForCollector))
101
continue
102
}
103
0 commit comments