Skip to content

Commit

Permalink
Temporarily disable Weaviate integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dmytrostruk committed Sep 6, 2024
1 parent 9363a19 commit 03b3dc8
Showing 1 changed file with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ namespace SemanticKernel.IntegrationTests.Connectors.Memory.Weaviate;
[Collection("WeaviateVectorStoreCollection")]
public sealed class WeaviateVectorStoreRecordCollectionTests(WeaviateVectorStoreFixture fixture)
{
[Fact]
private const string SkipReason = "Tests are disabled during batch/object request problem investigation.";

[Fact(Skip = SkipReason)]
public async Task ItCanCreateCollectionAsync()
{
// Arrange
Expand All @@ -26,7 +28,7 @@ public async Task ItCanCreateCollectionAsync()
Assert.True(await sut.CollectionExistsAsync());
}

[Theory]
[Theory(Skip = SkipReason)]
[InlineData("ExistingCollection", true)]
[InlineData("NonExistentCollection", false)]
public async Task ItCanCheckIfCollectionExistsAsync(string collectionName, bool collectionExists)
Expand All @@ -46,7 +48,7 @@ public async Task ItCanCheckIfCollectionExistsAsync(string collectionName, bool
Assert.Equal(collectionExists, result);
}

[Theory]
[Theory(Skip = SkipReason)]
[InlineData("CollectionWithVectorAndDefinition", true, true)]
[InlineData("CollectionWithVector", true, false)]
[InlineData("CollectionWithDefinition", false, true)]
Expand Down Expand Up @@ -96,7 +98,7 @@ public async Task ItCanUpsertAndGetRecordAsync(string collectionName, bool inclu
}
}

[Fact]
[Fact(Skip = SkipReason)]
public async Task ItCanDeleteCollectionAsync()
{
// Arrange
Expand All @@ -115,7 +117,7 @@ public async Task ItCanDeleteCollectionAsync()
Assert.False(await sut.CollectionExistsAsync());
}

[Fact]
[Fact(Skip = SkipReason)]
public async Task ItCanDeleteRecordAsync()
{
// Arrange
Expand All @@ -140,7 +142,7 @@ public async Task ItCanDeleteRecordAsync()
Assert.Null(getResult);
}

[Fact]
[Fact(Skip = SkipReason)]
public async Task ItCanUpsertAndGetAndDeleteBatchAsync()
{
// Arrange
Expand Down Expand Up @@ -174,7 +176,7 @@ public async Task ItCanUpsertAndGetAndDeleteBatchAsync()
Assert.Empty(getResults);
}

[Fact]
[Fact(Skip = SkipReason)]
public async Task ItCanUpsertRecordAsync()
{
// Arrange
Expand Down

0 comments on commit 03b3dc8

Please sign in to comment.