25 references to WaitForDataAsync
Microsoft.Extensions.VectorData.ConformanceTests (25)
DistanceFunctionTests.cs (1)
104await fixture.TestStore.WaitForDataAsync(collection, insertedRecords.Count, vectorSize: 4);
EmbeddingGenerationTests.cs (4)
201await stringVectorFixture.TestStore.WaitForDataAsync(collection, 1, filter: r => r.Counter == counter); 225await stringVectorFixture.TestStore.WaitForDataAsync(collection, 1, filter: r => (int)r[nameof(Record.Counter)] == counter); 258await stringVectorFixture.TestStore.WaitForDataAsync(collection, 2, filter: r => r.Counter == counter1 || r.Counter == counter2); 294await stringVectorFixture.TestStore.WaitForDataAsync(collection, 2, filter: r => (int)r[nameof(Record.Counter)] == counter1 || (int)r[nameof(Record.Counter)] == counter2);
FilterTests.cs (1)
723=> TestStore.WaitForDataAsync(Collection, recordCount: TestData.Count, r => r.Int > 0);
HybridSearchTests.cs (2)
206=> TestStore.WaitForDataAsync(Collection, recordCount: TestData.Count, vectorSize: 4); 256=> TestStore.WaitForDataAsync(Collection, recordCount: TestData.Count, vectorSize: 4);
IndexKindTests.cs (1)
47await fixture.TestStore.WaitForDataAsync(collection, records.Length);
ModelTests\BasicModelTests.cs (1)
225await fixture.TestStore.WaitForDataAsync(Collection, recordCount: fixture.TestData.Count + 1);
ModelTests\MultiVectorModelTests.cs (1)
125=> TestStore.WaitForDataAsync(Collection, recordCount: TestData.Count, vectorProperty: r => r.Vector1);
Support\VectorStoreCollectionFixtureBase.cs (1)
67=> TestStore.WaitForDataAsync(Collection, recordCount: TestData.Count);
TypeTests\DataTypeTests.cs (6)
172await fixture.TestStore.WaitForDataAsync(fixture.Collection, recordCount: 0); 197await fixture.TestStore.WaitForDataAsync(fixture.Collection, recordCount: 0); 265await fixture.TestStore.WaitForDataAsync(fixture.Collection, recordCount: testData.Count); 312await fixture.TestStore.WaitForDataAsync(dynamicCollection, recordCount: testData.Count); 360await fixture.TestStore.WaitForDataAsync(collection, filter: filter, recordCount: 1); 401await fixture.TestStore.WaitForDataAsync(dynamicCollection, filter: filter, recordCount: 1);
TypeTests\EmbeddingTypeTests.cs (3)
66await fixture.TestStore.WaitForDataAsync(collection, recordCount: 1, filter: r => r.Int == 42, dummyVector: value); 113await fixture.TestStore.WaitForDataAsync(dynamicCollection, recordCount: 1, filter: r => (int)r["Int"]! == 43, dummyVector: value); 162await fixture.TestStore.WaitForDataAsync(collection2, recordCount: 1, filter: r => r.Int == 44, dummyVector: value);
TypeTests\KeyTypeTests.cs (4)
75await fixture.TestStore.WaitForDataAsync(collection, recordCount: 2); 99await fixture.TestStore.WaitForDataAsync(collection, recordCount: 0); 122await fixture.TestStore.WaitForDataAsync(dynamicCollection, recordCount: 2); 194await fixture.TestStore.WaitForDataAsync(collectionWithAutoGeneration, recordCount: 4);