25 references to WaitForDataAsync
Microsoft.Extensions.VectorData.ConformanceTests (25)
DistanceFunctionTests.cs (1)
104
await fixture.TestStore.
WaitForDataAsync
(collection, insertedRecords.Count, vectorSize: 4);
EmbeddingGenerationTests.cs (4)
201
await stringVectorFixture.TestStore.
WaitForDataAsync
(collection, 1, filter: r => r.Counter == counter);
225
await stringVectorFixture.TestStore.
WaitForDataAsync
(collection, 1, filter: r => (int)r[nameof(Record.Counter)] == counter);
258
await stringVectorFixture.TestStore.
WaitForDataAsync
(collection, 2, filter: r => r.Counter == counter1 || r.Counter == counter2);
294
await 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)
47
await fixture.TestStore.
WaitForDataAsync
(collection, records.Length);
ModelTests\BasicModelTests.cs (1)
225
await 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)
172
await fixture.TestStore.
WaitForDataAsync
(fixture.Collection, recordCount: 0);
197
await fixture.TestStore.
WaitForDataAsync
(fixture.Collection, recordCount: 0);
265
await fixture.TestStore.
WaitForDataAsync
(fixture.Collection, recordCount: testData.Count);
312
await fixture.TestStore.
WaitForDataAsync
(dynamicCollection, recordCount: testData.Count);
360
await fixture.TestStore.
WaitForDataAsync
(collection, filter: filter, recordCount: 1);
401
await fixture.TestStore.
WaitForDataAsync
(dynamicCollection, filter: filter, recordCount: 1);
TypeTests\EmbeddingTypeTests.cs (3)
66
await fixture.TestStore.
WaitForDataAsync
(collection, recordCount: 1, filter: r => r.Int == 42, dummyVector: value);
113
await fixture.TestStore.
WaitForDataAsync
(dynamicCollection, recordCount: 1, filter: r => (int)r["Int"]! == 43, dummyVector: value);
162
await fixture.TestStore.
WaitForDataAsync
(collection2, recordCount: 1, filter: r => r.Int == 44, dummyVector: value);
TypeTests\KeyTypeTests.cs (4)
75
await fixture.TestStore.
WaitForDataAsync
(collection, recordCount: 2);
99
await fixture.TestStore.
WaitForDataAsync
(collection, recordCount: 0);
122
await fixture.TestStore.
WaitForDataAsync
(dynamicCollection, recordCount: 2);
194
await fixture.TestStore.
WaitForDataAsync
(collectionWithAutoGeneration, recordCount: 4);