Skip to content

Commit

Permalink
.Net: Temporarily disable Weaviate integration tests (#8617)
Browse files Browse the repository at this point in the history
### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

Weaviate integration tests started to fail, temporarily disabling them
during the investigation to unblock pipelines in other PRs.

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [x] The code builds clean without any errors or warnings
- [x] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [x] All unit tests pass, and I have added new tests where possible
- [x] I didn't break anyone 😄
  • Loading branch information
dmytrostruk committed Sep 9, 2024
1 parent 9363a19 commit 2689d64
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 2689d64

Please sign in to comment.