Skip to content

Commit

Permalink
remove typo
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmrdavid authored Jun 19, 2024
1 parent 4a3d39c commit 1a9b6e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/validate-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
with:
dotnet-version: '3.1.x'

- name: Set up .NET Core 321
- name: Set up .NET Core 2.1
uses: actions/setup-dotnet@v3
with:
dotnet-version: '2.1.x'
Expand Down
3 changes: 2 additions & 1 deletion test/FunctionsV2/OutOfProcTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -344,10 +344,11 @@ public async Task TestLocalRcpEndpointRuntimeVersion(string runtimeVersion, bool
var logMessages = logger.LogMessages.ToList();

Assert.True(logMessages.Count > 0, "No log messages found.");
Console.WriteLine(logMessages);

bool enabledRpcEndpoint = logMessages.Any(msg => msg.Level == Microsoft.Extensions.Logging.LogLevel.Information && msg.FormattedMessage.StartsWith($"Opened local {expectedProtocol} endpoint:"));

Assert.Equal(enabledExpected, enabledRpcEndpoint, );
Assert.Equal(enabledExpected, enabledRpcEndpoint);

await host.StopAsync();
}
Expand Down

0 comments on commit 1a9b6e3

Please sign in to comment.