Skip to content

Commit 69eec14

Browse files
[main] Update dependencies from dotnet/efcore, dotnet/runtime (#61503)
[main] Update dependencies from dotnet/efcore, dotnet/runtime - Coherency Updates: - optimization.windows_nt-x64.MIBC.Runtime: from 1.0.0-prerelease.25171.2 to 1.0.0-prerelease.25217.3 (parent: Microsoft.NETCore.App.Runtime.win-x64) - optimization.windows_nt-x86.MIBC.Runtime: from 1.0.0-prerelease.25171.2 to 1.0.0-prerelease.25217.3 (parent: Microsoft.NETCore.App.Runtime.win-x64) - optimization.linux-x64.MIBC.Runtime: from 1.0.0-prerelease.25171.2 to 1.0.0-prerelease.25217.3 (parent: Microsoft.NETCore.App.Runtime.win-x64) - optimization.windows_nt-arm64.MIBC.Runtime: from 1.0.0-prerelease.25171.2 to 1.0.0-prerelease.25217.3 (parent: Microsoft.NETCore.App.Runtime.win-x64) - optimization.linux-arm64.MIBC.Runtime: from 1.0.0-prerelease.25171.2 to 1.0.0-prerelease.25217.3 (parent: Microsoft.NETCore.App.Runtime.win-x64) - Try disabling inlining for the interactivity e2e test - Disable preloading in tests - Merge branch 'main' into darc-main-c522251f-421c-4560-8005-ac855da8cf24 - fix some tests - fix - follow pattern from working tests
1 parent bb7c393 commit 69eec14

File tree

8 files changed

+278
-273
lines changed

8 files changed

+278
-273
lines changed

eng/Version.Details.xml

Lines changed: 176 additions & 176 deletions
Large diffs are not rendered by default.

eng/Versions.props

Lines changed: 88 additions & 88 deletions
Large diffs are not rendered by default.

src/Components/WebAssembly/Directory.Build.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<ExcludeFromSourceOnlyBuild>true</ExcludeFromSourceOnlyBuild>
66
</PropertyGroup>
77
<PropertyGroup>
8+
<WasmPreloadAssets>false</WasmPreloadAssets>
89
<WasmInlineBootConfig>false</WasmInlineBootConfig>
910
</PropertyGroup>
1011
</Project>

src/Components/test/E2ETest/Microsoft.AspNetCore.Components.E2ETests.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
Condition=" '$(ContinuousIntegrationBuild)' != 'true' AND '$(SkipTestBuild)' != 'true' ">true</_BuildAndTest>
1212
<ExcludeFromBuild Condition=" !$(_BuildAndTest) ">true</ExcludeFromBuild>
1313
<SkipTests Condition=" !$(_BuildAndTest) ">true</SkipTests>
14+
15+
<!-- disable inline boot config for these tests -->
16+
<WasmInlineBootConfig>false</WasmInlineBootConfig>
1417
</PropertyGroup>
1518

1619
<!-- Shared testing infrastructure for running E2E tests using selenium -->

src/Components/test/testassets/Directory.Build.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
</AssemblyAttribute>
2121
</ItemGroup>
2222
<PropertyGroup>
23+
<WasmPreloadAssets>false</WasmPreloadAssets>
2324
<WasmInlineBootConfig>false</WasmInlineBootConfig>
2425
</PropertyGroup>
2526
</Project>

src/Hosting/Hosting/test/HostingApplicationDiagnosticsTests.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -740,13 +740,13 @@ public void ActivityParentIdAndBaggageReadFromHeaders()
740740
{
741741
Headers = new HeaderDictionary()
742742
{
743-
{"Request-Id", "ParentId1"},
743+
{"Request-Id", "ParentId1"}, // non-standard header, won't apply to Activity
744744
{"baggage", "Key1=value1, Key2=value2"}
745745
}
746746
});
747747
hostingApplication.CreateContext(features);
748748
Assert.Equal("Microsoft.AspNetCore.Hosting.HttpRequestIn", Activity.Current.OperationName);
749-
Assert.Equal("ParentId1", Activity.Current.ParentId);
749+
Assert.Null(Activity.Current.ParentId);
750750
Assert.Contains(Activity.Current.Baggage, pair => pair.Key == "Key1" && pair.Value == "value1");
751751
Assert.Contains(Activity.Current.Baggage, pair => pair.Key == "Key2" && pair.Value == "value2");
752752
}
@@ -928,7 +928,7 @@ public void ActivityTraceParentAndTraceStateFromHeaders()
928928
Headers = new HeaderDictionary()
929929
{
930930
{"traceparent", "00-0123456789abcdef0123456789abcdef-0123456789abcdef-01"},
931-
{"tracestate", "TraceState1"},
931+
{"tracestate", "tracestate=1"},
932932
{"baggage", "Key1=value1, Key2=value2"}
933933
}
934934
});
@@ -937,7 +937,7 @@ public void ActivityTraceParentAndTraceStateFromHeaders()
937937
Assert.Equal(ActivityIdFormat.W3C, Activity.Current.IdFormat);
938938
Assert.Equal("0123456789abcdef0123456789abcdef", Activity.Current.TraceId.ToHexString());
939939
Assert.Equal("0123456789abcdef", Activity.Current.ParentSpanId.ToHexString());
940-
Assert.Equal("TraceState1", Activity.Current.TraceStateString);
940+
Assert.Equal("tracestate=1", Activity.Current.TraceStateString);
941941

942942
Assert.Contains(Activity.Current.Baggage, pair => pair.Key == "Key1" && pair.Value == "value1");
943943
Assert.Contains(Activity.Current.Baggage, pair => pair.Key == "Key2" && pair.Value == "value2");

src/Http/Http.Extensions/test/RequestDelegateGenerator/RequestDelegateCreationTests.KeyServices.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public async Task ThrowsForUnregisteredRequiredKeyService()
127127
var exception = await Assert.ThrowsAsync<InvalidOperationException>(
128128
async () => await endpoint.RequestDelegate(httpContext));
129129

130-
Assert.Equal("No service for type 'Microsoft.AspNetCore.Http.Generators.Tests.TestService' has been registered.", exception.Message);
130+
Assert.Equal("No keyed service for type 'Microsoft.AspNetCore.Http.Generators.Tests.TestService' using key type 'System.String' has been registered.", exception.Message);
131131
}
132132

133133
[Fact]

src/SignalR/server/SignalR/test/Microsoft.AspNetCore.SignalR.Tests/HubConnectionHandlerTests.Activity.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public async Task HubMethodInvokesCreateActivities_ReadTraceHeaders()
132132
var headers = new Dictionary<string, string>
133133
{
134134
{"traceparent", "00-0123456789abcdef0123456789abcdef-0123456789abcdef-01"},
135-
{"tracestate", "TraceState1"},
135+
{"tracestate", "tracestate=1"},
136136
{"baggage", "Key1=value1, Key2=value2"}
137137
};
138138

@@ -149,7 +149,7 @@ public async Task HubMethodInvokesCreateActivities_ReadTraceHeaders()
149149
Assert.Equal(ActivityIdFormat.W3C, invocationActivity.IdFormat);
150150
Assert.Equal("0123456789abcdef0123456789abcdef", invocationActivity.TraceId.ToHexString());
151151
Assert.Equal("0123456789abcdef", invocationActivity.ParentSpanId.ToHexString());
152-
Assert.Equal("TraceState1", invocationActivity.TraceStateString);
152+
Assert.Equal("tracestate=1", invocationActivity.TraceStateString);
153153

154154
client.Dispose();
155155

@@ -262,7 +262,7 @@ public async Task StreamingHubMethodCreatesActivities_ReadTraceHeaders()
262262
var headers = new Dictionary<string, string>
263263
{
264264
{"traceparent", "00-0123456789abcdef0123456789abcdef-0123456789abcdef-01"},
265-
{"tracestate", "TraceState1"},
265+
{"tracestate", "tracestate=1"},
266266
{"baggage", "Key1=value1, Key2=value2"}
267267
};
268268

@@ -275,7 +275,7 @@ public async Task StreamingHubMethodCreatesActivities_ReadTraceHeaders()
275275
Assert.Equal(ActivityIdFormat.W3C, invocationActivity.IdFormat);
276276
Assert.Equal("0123456789abcdef0123456789abcdef", invocationActivity.TraceId.ToHexString());
277277
Assert.Equal("0123456789abcdef", invocationActivity.ParentSpanId.ToHexString());
278-
Assert.Equal("TraceState1", invocationActivity.TraceStateString);
278+
Assert.Equal("tracestate=1", invocationActivity.TraceStateString);
279279

280280
client.Dispose();
281281

0 commit comments

Comments
 (0)