From 7d32f7e6298c51c29c4487e540fbd3373a1343b3 Mon Sep 17 00:00:00 2001 From: lhp-nemlig <159530308+lhp-nemlig@users.noreply.github.com> Date: Fri, 22 Nov 2024 13:10:12 +0100 Subject: [PATCH] Update cmd/otel-allocator/allocation/per_node_test.go MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Mikołaj Świątek --- cmd/otel-allocator/allocation/per_node_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/otel-allocator/allocation/per_node_test.go b/cmd/otel-allocator/allocation/per_node_test.go index 0b803da12f..657eb9309c 100644 --- a/cmd/otel-allocator/allocation/per_node_test.go +++ b/cmd/otel-allocator/allocation/per_node_test.go @@ -154,7 +154,7 @@ func TestAllocationPerNodeUsingFallback(t *testing.T) { // verify allocation to nodes for targetHash, item := range targetList { actualItem, found := actualItems[targetHash] - // if third target, should be skipped + // if third target, should be allocated by the fallback strategy assert.True(t, found, "target with hash %s not found", item.Hash()) // only the first two targets should be allocated