Skip to content

Commit e1b74bf

Browse files
authored
[tests] Fix DistributedApplicationTests.ProxylessAndProxiedEndpointBothWorkOnSameResource (#8973)
1 parent 20d79ae commit e1b74bf

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/tests-outerloop.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ jobs:
5757
steps:
5858
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5959

60+
- name: Trust HTTPS development certificate (Linux)
61+
if: matrix.tests.os == 'ubuntu-latest'
62+
run: ./dotnet.sh dev-certs https --trust
63+
6064
- name: Test ${{ matrix.tests.project }}
6165
run: |
6266
${{ matrix.tests.command }}

tests/Aspire.Hosting.Tests/DistributedApplicationTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -952,6 +952,7 @@ await Assert.ThrowsAnyAsync<Exception>(async () =>
952952
}
953953

954954
[Fact]
955+
[RequiresSSLCertificate]
955956
[QuarantinedTest("https://github.com/dotnet/aspire/issues/4599")]
956957
public async Task ProxylessAndProxiedEndpointBothWorkOnSameResource()
957958
{
@@ -1016,6 +1017,7 @@ public async Task ProxylessAndProxiedEndpointBothWorkOnSameResource()
10161017
}
10171018
catch (Exception ex) when (ex is not EqualException)
10181019
{
1020+
_testOutputHelper.WriteLine($"Exception {ex} while trying to get https url");
10191021
await Task.Delay(100, token);
10201022
}
10211023
}

0 commit comments

Comments
 (0)