Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Haudum <[email protected]>
  • Loading branch information
chaudum committed Sep 30, 2024
1 parent 8321961 commit 8248301
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/util/jumphash/memcached_client_selector_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ var mockTCPResolver = func(_, address string) (*net.TCPAddr, error) {

func TestMemcachedJumpHashSelector_PickSever(t *testing.T) {
s := NewSelector(
"test",
mockUnixResolver,
mockTCPResolver,
)
Expand Down Expand Up @@ -84,6 +85,7 @@ func TestMemcachedJumpHashSelector_PickSever(t *testing.T) {

func TestMemcachedJumpHashSelector_PickSever_ErrNoServers(t *testing.T) {
s := NewSelector(
"test",
mockUnixResolver,
mockTCPResolver,
)
Expand Down

0 comments on commit 8248301

Please sign in to comment.