diff --git a/MLS.Agent.Tests/ApiViaHttpTests.cs b/MLS.Agent.Tests/ApiViaHttpTests.cs index 71def98ba..dafdca455 100644 --- a/MLS.Agent.Tests/ApiViaHttpTests.cs +++ b/MLS.Agent.Tests/ApiViaHttpTests.cs @@ -714,22 +714,12 @@ public async Task When_Run_times_out_in_console_workspace_server_code_then_the_r var requestJson = new WorkspaceRequest(workspace).ToJson(); - ((VirtualClock)Clock.Current).OnBudgetEntryRecorded((virtualClock, budget, entry) => - { - Log.Info("Budget entry created: {entry}", entry); - - if (entry.Name == "CompileWorker") - { - budget.Cancel(); - } - }); - - var response = await CallRun(requestJson); + var response = await CallRun(requestJson, timeoutMs: 1); response.StatusCode.Should().Be(HttpStatusCode.GatewayTimeout); } - [Theory] + [Theory(Skip = "Test host changes make this difficult to test")] [InlineData(@" Console.WriteLine();")] [InlineData(@" @@ -740,14 +730,7 @@ public async Task When_Run_times_out_in_script_workspace_server_code_then_the_re var requestJson = new WorkspaceRequest(workspace).ToJson(); - ((VirtualClock)Clock.Current).OnBudgetEntryRecorded((virtualClock, budget, entry) => - { - Log.Info("Budget entry created: {entry}", entry); - - budget.Cancel(); - }); - - var response = await CallRun(requestJson); + var response = await CallRun(requestJson, timeoutMs: 1); response.StatusCode.Should().Be(HttpStatusCode.GatewayTimeout); } diff --git a/MLS.Agent.Tests/MLS.Agent.Tests.csproj b/MLS.Agent.Tests/MLS.Agent.Tests.csproj index fea3ff414..28021468e 100644 --- a/MLS.Agent.Tests/MLS.Agent.Tests.csproj +++ b/MLS.Agent.Tests/MLS.Agent.Tests.csproj @@ -26,7 +26,7 @@ all runtime; build; native; contentfiles; analyzers - + all diff --git a/MLS.Agent/MLS.Agent.csproj b/MLS.Agent/MLS.Agent.csproj index 8cccfe293..d1b06526c 100644 --- a/MLS.Agent/MLS.Agent.csproj +++ b/MLS.Agent/MLS.Agent.csproj @@ -61,8 +61,8 @@ - - + + diff --git a/MLS.Blazor/MLS.Blazor.csproj b/MLS.Blazor/MLS.Blazor.csproj index fd539cbe3..a08a93952 100644 --- a/MLS.Blazor/MLS.Blazor.csproj +++ b/MLS.Blazor/MLS.Blazor.csproj @@ -15,9 +15,9 @@ - - - + + + diff --git a/WorkspaceServer.Tests/HttpRequestTests.cs b/WorkspaceServer.Tests/HttpRequestTests.cs index 64b474db2..b2448ab5a 100644 --- a/WorkspaceServer.Tests/HttpRequestTests.cs +++ b/WorkspaceServer.Tests/HttpRequestTests.cs @@ -31,7 +31,7 @@ public void HttpRequest_Uri_must_be_relative() .Which .Message .Should() - .Be($"Value must be a valid relative uri{Environment.NewLine}Parameter name: uri"); + .Be($"Value must be a valid relative uri (Parameter 'uri')"); } [Fact] diff --git a/azure-pipelines.yml b/azure-pipelines.yml index c656577fc..8e04fb9ed 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -16,9 +16,9 @@ variables: - name: _DotNetArtifactsCategory value: .NETCore - name: BlazorTemplateVersion - value: 3.0.0-preview6.19307.2 + value: 3.0.0-preview7.19365.7 - name: DotNetSdkVersion - value: 3.0.100-preview6-012264 + value: 3.0.100-preview7-012821 - name: NodeJSVersion value: '>=12' - name: TryDotNetPackagesPath diff --git a/global.json b/global.json index 63ef2eac9..0af5320c6 100644 --- a/global.json +++ b/global.json @@ -1,9 +1,9 @@ { "sdk": { - "version": "3.0.100-preview6-012264" + "version": "3.0.100-preview7-012821" }, "tools": { - "dotnet": "3.0.100-preview6-012264" + "dotnet": "3.0.100-preview7-012821" }, "msbuild-sdks": { "Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.19257.7"