Skip to content

Commit

Permalink
Remove unnecessary comments
Browse files Browse the repository at this point in the history
  • Loading branch information
lhp-nemlig committed Nov 22, 2024
1 parent 0254654 commit a5b8dca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/otel-allocator/allocation/per_node_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,9 @@ func TestAllocationPerNodeUsingFallback(t *testing.T) {
// verify allocation to nodes
for targetHash, item := range targetList {
actualItem, found := actualItems[targetHash]
// 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
itemsForCollector := s.GetTargetsForCollectorAndJob(actualItem.CollectorName, actualItem.JobName)

// first two should be assigned one to each collector; if third target, it should be assigned
Expand Down

0 comments on commit a5b8dca

Please sign in to comment.