Skip to content

Commit 378e5e7

Browse files
Disable Kusto emulator tests on Linux (#15464)
* Disable Kusto emulator tests on Linux - Disabled: KustoEmulator_Starts - Disabled: KustoEmulator_WithDatabase_CanReadIngestedData - Disabled: KustoEmulator_WithDatabaseThatAlreadyExists_ErrorIsIgnored - Disabled: KustoEmulator_WithInvalidDatabase_LogsErrorAndContinues - Disabled: KustoEmulator_WithBindMount_IsUsedForPersistence - Issue: #11820 These tests are being disabled on Linux while the Kusto emulator image fails to start due to unsupported CPU instruction set requirements. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Keep AzDO skip for Kusto tests - Preserved: KustoEmulator_Starts on AzDO - Preserved: KustoEmulator_WithDatabase_CanReadIngestedData on AzDO - Preserved: KustoEmulator_WithDatabaseThatAlreadyExists_ErrorIsIgnored on AzDO - Preserved: KustoEmulator_WithInvalidDatabase_LogsErrorAndContinues on AzDO - Preserved: KustoEmulator_WithBindMount_IsUsedForPersistence on AzDO - Issue: #11820 This keeps the existing Azure DevOps skip while also retaining the new Linux-targeted skip. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Link Linux Kusto skips to new issue - Linked: KustoEmulator_Starts Linux skip to #15463 - Linked: KustoEmulator_WithDatabase_CanReadIngestedData Linux skip to #15463 - Linked: KustoEmulator_WithDatabaseThatAlreadyExists_ErrorIsIgnored Linux skip to #15463 - Linked: KustoEmulator_WithInvalidDatabase_LogsErrorAndContinues Linux skip to #15463 - Linked: KustoEmulator_WithBindMount_IsUsedForPersistence Linux skip to #15463 This keeps the existing Azure DevOps disable on issue #11820 and moves the Linux-only disable to the dedicated Kusto emulator issue. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 7ca3371 commit 378e5e7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/Aspire.Hosting.Azure.Kusto.Tests/KustoFunctionalTests.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ public KustoFunctionalTests(ITestOutputHelper testOutputHelper)
4141
[Fact]
4242
[RequiresFeature(TestFeature.Docker)]
4343
[ActiveIssue("https://github.com/microsoft/aspire/issues/11820", typeof(PlatformDetection), nameof(PlatformDetection.IsRunningFromAzdo))]
44+
[ActiveIssue("https://github.com/microsoft/aspire/issues/15463", typeof(PlatformDetection), nameof(PlatformDetection.IsLinux))]
4445
public async Task KustoEmulator_Starts()
4546
{
4647
using var timeout = new CancellationTokenSource(TestConstants.ExtraLongTimeoutTimeSpan);
@@ -91,6 +92,7 @@ public async Task KustoEmulator_Starts()
9192
[Fact]
9293
[RequiresFeature(TestFeature.Docker)]
9394
[ActiveIssue("https://github.com/microsoft/aspire/issues/11820", typeof(PlatformDetection), nameof(PlatformDetection.IsRunningFromAzdo))]
95+
[ActiveIssue("https://github.com/microsoft/aspire/issues/15463", typeof(PlatformDetection), nameof(PlatformDetection.IsLinux))]
9496
public async Task KustoEmulator_WithDatabase_CanReadIngestedData()
9597
{
9698
using var timeout = new CancellationTokenSource(TestConstants.ExtraLongTimeoutTimeSpan);
@@ -169,6 +171,7 @@ static async Task<List<object[]>> ReadDataAsync(ICslQueryProvider client, Cancel
169171
[Fact]
170172
[RequiresFeature(TestFeature.Docker)]
171173
[ActiveIssue("https://github.com/microsoft/aspire/issues/11820", typeof(PlatformDetection), nameof(PlatformDetection.IsRunningFromAzdo))]
174+
[ActiveIssue("https://github.com/microsoft/aspire/issues/15463", typeof(PlatformDetection), nameof(PlatformDetection.IsLinux))]
172175
public async Task KustoEmulator_WithDatabaseThatAlreadyExists_ErrorIsIgnored()
173176
{
174177
using var timeout = new CancellationTokenSource(TestConstants.ExtraLongTimeoutTimeSpan);
@@ -196,6 +199,7 @@ public async Task KustoEmulator_WithDatabaseThatAlreadyExists_ErrorIsIgnored()
196199
[Fact]
197200
[RequiresFeature(TestFeature.Docker)]
198201
[ActiveIssue("https://github.com/microsoft/aspire/issues/11820", typeof(PlatformDetection), nameof(PlatformDetection.IsRunningFromAzdo))]
202+
[ActiveIssue("https://github.com/microsoft/aspire/issues/15463", typeof(PlatformDetection), nameof(PlatformDetection.IsLinux))]
199203
public async Task KustoEmulator_WithInvalidDatabase_LogsErrorAndContinues()
200204
{
201205
using var timeout = new CancellationTokenSource(TestConstants.ExtraLongTimeoutTimeSpan);
@@ -227,6 +231,7 @@ public async Task KustoEmulator_WithInvalidDatabase_LogsErrorAndContinues()
227231
[Fact]
228232
[RequiresFeature(TestFeature.Docker)]
229233
[ActiveIssue("https://github.com/microsoft/aspire/issues/11820", typeof(PlatformDetection), nameof(PlatformDetection.IsRunningFromAzdo))]
234+
[ActiveIssue("https://github.com/microsoft/aspire/issues/15463", typeof(PlatformDetection), nameof(PlatformDetection.IsLinux))]
230235
public async Task KustoEmulator_WithBindMount_IsUsedForPersistence()
231236
{
232237
using var timeout = new CancellationTokenSource(TestConstants.ExtraLongTimeoutTimeSpan);

0 commit comments

Comments
 (0)