change ports auxilliary instances are listen to in consequent tests...

... to avoid "Address already in use"
This commit is contained in:
Sergei Golovin 2024-03-06 21:13:43 +04:00
parent 683bf4f707
commit 5656be567a
3 changed files with 3 additions and 0 deletions

View file

@ -121,6 +121,7 @@ int main(int argc, char **argv, char **env)
@"/301", @"Path", // request the handler responding with a redirect
@"/", @"RedirectPath", // the URL's path of redirecting
@"YES", @"IsAuxilliary", // start an auxilliary TestWebServer instance
@"1236", @"AuxPort", // the port of the auxilliary instance
refs, @"ReferenceFlags", // the expected reference set difference
nil];
[testCase setUpTest: d];

View file

@ -148,6 +148,7 @@ int main(int argc, char **argv, char **env)
@"/301/withoutauth", @"Path", // request the handler responding with a redirect
@"/withoutauth", @"RedirectPath", // the URL's path of redirecting
@"YES", @"IsAuxilliary", // start an auxilliary TestWebServer instance
@"1237", @"AuxPort", // the port of the auxilliary instance
refs, @"ReferenceFlags", // the expected reference set difference
nil];
[testCase setUpTest: d];

View file

@ -161,6 +161,7 @@ int main(int argc, char **argv, char **env)
@"/301/withoutauth", @"Path", // request a redirect
@"/withoutauth", @"RedirectPath", // the URL's path of redirecting
@"YES", @"IsAuxilliary", // start an auxilliary TestWebServer instance
@"1238", @"AuxPort", // the port of the auxilliary instance
refs, @"ReferenceFlags", // the expected reference set difference
nil];
[testCase setUpTest: d];