Skip to content

Commit 654fe61

Browse files
authored
Merge branch 'main' into playground-tests-helix-build
2 parents 6f0e998 + 4b4ebce commit 654fe61

9 files changed

+25
-11
lines changed

.config/dotnet-tools.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"isRoot": true,
44
"tools": {
55
"dotnet-coverage": {
6-
"version": "17.11.3",
6+
"version": "17.11.5",
77
"commands": [
88
"dotnet-coverage"
99
]
@@ -21,4 +21,4 @@
2121
]
2222
}
2323
}
24-
}
24+
}

Directory.Packages.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
<PackageVersion Include="Microsoft.DotNet.XUnitExtensions" Version="$(MicrosoftDotNetXUnitExtensionsPackageVersion)" />
149149
<PackageVersion Include="Microsoft.Extensions.Diagnostics.Testing" Version="$(MicrosoftExtensionsDiagnosticsTestingPackageVersion)" />
150150
<PackageVersion Include="Microsoft.NET.Runtime.WorkloadTesting.Internal" Version="$(MicrosoftNETRuntimeWorkloadTestingInternalVersion)" />
151-
<PackageVersion Include="Microsoft.Playwright" Version="1.45.1" />
151+
<PackageVersion Include="Microsoft.Playwright" Version="1.46.0" />
152152
<PackageVersion Include="Swashbuckle.AspNetCore" Version="6.6.2" />
153153
<PackageVersion Include="Testcontainers.MongoDb" Version="$(TestcontainersPackageVersion)" />
154154
<PackageVersion Include="Testcontainers.MsSql" Version="$(TestcontainersPackageVersion)" />

src/Aspire.Hosting/BuiltInDistributedApplicationEventSubscriptionHandlers.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
14
using Aspire;
25
using Aspire.Hosting;
36
using Aspire.Hosting.ApplicationModel;
4-
// Licensed to the .NET Foundation under one or more agreements.
5-
// The .NET Foundation licenses this file to you under the MIT license.
67

78
internal static class BuiltInDistributedApplicationEventSubscriptionHandlers
89
{

src/Aspire.Hosting/Eventing/DistributedApplicationEventSubscription.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
14
using System.Diagnostics.CodeAnalysis;
25
using Aspire.Hosting.ApplicationModel;
36

src/Aspire.Hosting/Eventing/DistributedApplicationEventing.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
14
using System.Collections.Concurrent;
25
using System.Diagnostics.CodeAnalysis;
36
using Aspire.Hosting.ApplicationModel;

src/Aspire.Hosting/Eventing/IDistributedApplicationEvent.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
14
using System.Diagnostics.CodeAnalysis;
25
using Aspire.Hosting.ApplicationModel;
36

src/Aspire.Hosting/Eventing/IDistributedApplicationEventing.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
14
using System.Diagnostics.CodeAnalysis;
25
using Aspire.Hosting.ApplicationModel;
36

tests/Aspire.Playground.Tests/AppHostTests.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,10 @@ public static TheoryData<TestEndpoints> TestEndpoints()
184184
IList<TestEndpoints> candidates =
185185
[
186186
new TestEndpoints("MilvusPlayground.AppHost",
187-
resourceEndpoints: new() { { "apiservice", ["/alive", "/health", "/create", "/search"] } }),
187+
resourceEndpoints: new() { { "apiservice", ["/alive", "/health", "/create", "/search"] } },
188+
waitForTexts: [
189+
new ("milvus", "Milvus Proxy successfully initialized and ready to serve"),
190+
]),
188191
new TestEndpoints("CosmosEndToEnd.AppHost",
189192
resourceEndpoints: new() { { "api", ["/alive", "/health", "/", "/ef"] } },
190193
waitForTexts: [

tests/helix/send-to-helix-inner.proj

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,11 @@
8080
<HelixPreCommand Include="$(_CleanupProcessesCommand)" />
8181
</ItemGroup>
8282

83-
<ItemGroup Condition="'$(NeedsPlaywright)' == 'true'">
83+
<ItemGroup Condition="'$(NeedsPlaywright)' == 'true' and '$(DisablePlaywrightTests)' != 'true'">
8484
<HelixCorrelationPayload Include="$(PlaywrightDependenciesDirectory)" Destination="playwright-deps" />
8585

8686
<HelixPreCommand Condition="'$(OS)' != 'Windows_NT'" Include="chmod +x $(_TestAssemblyRootDirEnvVar)/.playwright/node/linux-x64/node" />
8787

88-
<!-- Disable playwright tests on helix/linux. Issue: https://github.com/dotnet/aspire/issues/4623 -->
89-
<HelixPreCommand Condition="'$(OS)' != 'Windows_NT'" Include="export DISABLE_PLAYWRIGHT_TESTS=true" />
90-
<!--<HelixPreCommand Condition="'$(OS)' != 'Windows_NT'" Include="(sudo apt-get -o DPkg::Lock::Timeout=120 install -y libgbm1 libxkbcommon0 || (cat /var/lib/dkms/lttng-modules/2.13.8/build/make.log; exit 1)) || exit 1" />-->
91-
9288
<HelixPreCommand Condition="'$(OS)' == 'Windows_NT'" Include="set PLAYWRIGHT_BROWSERS_PATH=%HELIX_CORRELATION_PAYLOAD%\playwright-deps" />
9389
<HelixPreCommand Condition="'$(OS)' != 'Windows_NT'" Include="export PLAYWRIGHT_BROWSERS_PATH=$HELIX_CORRELATION_PAYLOAD/playwright-deps" />
9490
</ItemGroup>
@@ -127,7 +123,9 @@
127123
</ItemGroup>
128124

129125
<ItemGroup>
126+
<!-- Disable playwright tests on helix/linux. Issue: https://github.com/dotnet/aspire/issues/4623 -->
130127
<HelixPreCommand Condition="'$(DisablePlaywrightTests)' == 'true'" Include="$(_EnvVarSetKeyword) DISABLE_PLAYWRIGHT_TESTS=true" />
128+
131129
<HelixPreCommand Condition="'$(OS)' == 'Windows_NT'" Include="dotnet dev-certs https --trust" />
132130

133131
<HelixPostCommand Include="$(_CleanupProcessesCommand)" />

0 commit comments

Comments
 (0)