Skip to content

Make Azure SQL tests conditional #20

Description

@adamsitnik

In #16, we have added CommunityToolkit.VectorData.SqlServer with some workarounds related to not running the tests against SQL Server docker container which tests features currently available only for Azure SQL Server.

<ItemGroup>
<!-- The HybridSearch tests require running against Azure SQL -->
<Compile Remove="SqlServerHybridSearchTests.cs" />
</ItemGroup>

// This test should be conditional (https://github.com/dotnet/extensions/issues/7605)
if (!await AzureSqlHelper.GetIsAzureSqlAsync())
{
return;
}

Those tests need to be conditional, but this will require a new version of the Conformance Tests package (dotnet/extensions#7605)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions