Skip to content

Commit 3713e9e

Browse files
committed
addloopback test
1 parent a877199 commit 3713e9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Garnet.test/GarnetServerConfigTests.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -640,9 +640,9 @@ public async Task MultiEndpointTest()
640640
TestUtils.DeleteDirectory(TestUtils.MethodTestDir, wait: true);
641641
var hostname = TestUtils.GetHostName();
642642
var addresses = Dns.GetHostAddresses(hostname);
643+
addresses = [.. addresses, IPAddress.IPv6Loopback, IPAddress.Loopback];
643644

644645
var endpoints = addresses.Select(address => new IPEndPoint(address, TestUtils.TestPort)).ToArray();
645-
ClassicAssert.Greater(endpoints.Length, 1, $"{nameof(MultiEndpointTest)} not enough network interfaces!");
646646
var server = TestUtils.CreateGarnetServer(TestUtils.MethodTestDir, endpoints: endpoints);
647647
server.Start();
648648

0 commit comments

Comments
 (0)