Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
- name: Install golangci-lint without running it
uses: golangci/golangci-lint-action@v8
with:
version: v2.1.6
version: v2.9.0
args: "--help"

- name: Run precommit checks with CGo environment
Expand Down
5 changes: 3 additions & 2 deletions pkg/kvevents/subscriber_manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ package kvevents_test

import (
"context"
"fmt"
"testing"
"time"

Expand Down Expand Up @@ -199,8 +200,8 @@ func TestSubscriberManager_ConcurrentOperations(t *testing.T) {
for i := 0; i < 10; i++ {
go func(id int) {
defer func() { done <- true }()
podID := "default/pod-" + string(rune('0'+id))
endpoint := "tcp://10.0.0." + string(rune('0'+id)) + ":5557"
podID := fmt.Sprintf("default/pod-%d", id)
endpoint := fmt.Sprintf("tcp://10.0.0.%d:5557", id)
if err := sm.EnsureSubscriber(ctx, podID, endpoint, "kv@", true); err != nil {
t.Errorf("failed to add subscriber %s: %v", podID, err)
}
Expand Down
Loading