diff --git a/test/Azure.Functions.Cli.Tests/E2E/StartTests.cs b/test/Azure.Functions.Cli.Tests/E2E/StartTests.cs index aec690577..0834ab637 100644 --- a/test/Azure.Functions.Cli.Tests/E2E/StartTests.cs +++ b/test/Azure.Functions.Cli.Tests/E2E/StartTests.cs @@ -794,6 +794,7 @@ await CliTester.Run(new RunConfiguration[] SetUserSecrets(workingDir, userSecrets); }, WaitForRunningHostState = true, + HostProcessPort = _funcHostPort, Commands = new[] { $"start --functions http1 --{language} --port {_funcHostPort}", @@ -946,6 +947,7 @@ await CliTester.Run(new RunConfiguration[] SetUserSecrets(workingDir, userSecrets); }, WaitForRunningHostState = true, + HostProcessPort = _funcHostPort, Commands = new[] { $"start --functions http1 --csharp --port {_funcHostPort}",