Skip to content

Commit e08ebe6

Browse files
committed
add test for checking parsing of multiple addresses
1 parent 092de15 commit e08ebe6

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
@@ -134,7 +134,7 @@ public void ImportExportConfigLocal()
134134

135135
// No import path, include command line args
136136
// Check that all invalid options flagged
137-
args = ["--bind", "1.1.1.257", "-m", "12mg", "--port", "-1", "--mutable-percent", "101", "--acl-file", "nx_dir/nx_file.txt", "--tls", "--reviv-fraction", "1.1", "--cert-file-name", "testcert.crt"];
137+
args = ["--bind", "1.1.1.257 127.0.0.1 -::1", "-m", "12mg", "--port", "-1", "--mutable-percent", "101", "--acl-file", "nx_dir/nx_file.txt", "--tls", "--reviv-fraction", "1.1", "--cert-file-name", "testcert.crt"];
138138
parseSuccessful = ServerSettingsManager.TryParseCommandLineArguments(args, out options, out invalidOptions, out exitGracefully, silentMode: true);
139139
ClassicAssert.IsFalse(parseSuccessful);
140140
ClassicAssert.IsFalse(exitGracefully);

0 commit comments

Comments
 (0)