From 1b4ef3fcbf3f2908f48d37f89e2dafa828378639 Mon Sep 17 00:00:00 2001 From: Ivan Kripakov Date: Thu, 4 Jan 2024 18:36:18 +0400 Subject: [PATCH] minor fix in test --- dkron/server_lookup_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dkron/server_lookup_test.go b/dkron/server_lookup_test.go index 559fb9a8e..2c185dde6 100644 --- a/dkron/server_lookup_test.go +++ b/dkron/server_lookup_test.go @@ -22,8 +22,8 @@ func (ta *testAddr) String() string { func TestAddServer(t *testing.T) { // arrange lookup := NewServerLookup() - id1, addr1 := "svr-1", "127.0.0.1:8300" - id2, addr2 := "svr-2", "127.0.0.2:8300" + id1, addr1 := "server-1", "127.0.0.1:8300" + id2, addr2 := "server-2", "127.0.0.2:8300" server1, server2 := buildServerParts(id1, addr1), buildServerParts(id2, addr2) // act @@ -56,8 +56,8 @@ func TestAddServer(t *testing.T) { func TestRemoveServer(t *testing.T) { // arrange lookup := NewServerLookup() - id1, addr1 := "svr-1", "127.0.0.1:8300" - id2, addr2 := "svr-2", "127.0.0.2:8300" + id1, addr1 := "server-1", "127.0.0.1:8300" + id2, addr2 := "server-2", "127.0.0.2:8300" server1, server2 := buildServerParts(id1, addr1), buildServerParts(id2, addr2) lookup.AddServer(server1) lookup.AddServer(server2)