File tree Expand file tree Collapse file tree
lib/collection/tests/integration Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -193,12 +193,12 @@ async fn test_continuous_snapshot() {
193193 assert_eq ! ( set_result. status, UpdateStatus :: Completed ) ;
194194 }
195195
196- // Retrieve one point at a time again with payload
196+ // Retrieve one point at a time again with payload & vector
197197 for i in 0 ..points_count {
198198 let retrieve_point = PointRequestInternal {
199199 ids : vec ! [ i. into( ) ] ,
200200 with_payload : Some ( true . into ( ) ) ,
201- with_vector : WithVector :: Bool ( false ) ,
201+ with_vector : WithVector :: Bool ( true ) ,
202202 } ;
203203 let hw_counter = HwMeasurementAcc :: disposable ( ) ;
204204 let retrieve_result = collection
@@ -211,6 +211,8 @@ async fn test_continuous_snapshot() {
211211 )
212212 . await ?;
213213 assert_eq ! ( retrieve_result. len( ) , 1 ) ;
214+ assert ! ( retrieve_result[ 0 ] . vector. is_some( ) , "missing vector" ) ;
215+ assert ! ( retrieve_result[ 0 ] . payload. is_some( ) , "missing payload" ) ;
214216 }
215217 }
216218 CollectionResult :: Ok ( ( ) )
You can’t perform that action at this time.
0 commit comments