@@ -82,74 +82,74 @@ impl TestAgent {
8282 }
8383
8484 pub async fn upsert ( & self , opts : UpsertOptions < ' _ > ) -> Result < UpsertResult > {
85- run_with_std_kv_deadline ( self . agent . upsert ( opts) ) . await
85+ run_with_std_kv_deadline ( & self . cluster_version , self . agent . upsert ( opts) ) . await
8686 }
8787
8888 pub async fn get ( & self , opts : GetOptions < ' _ > ) -> Result < GetResult > {
89- run_with_std_kv_deadline ( self . agent . get ( opts) ) . await
89+ run_with_std_kv_deadline ( & self . cluster_version , self . agent . get ( opts) ) . await
9090 }
9191
9292 pub async fn get_meta ( & self , opts : GetMetaOptions < ' _ > ) -> Result < GetMetaResult > {
93- run_with_std_kv_deadline ( self . agent . get_meta ( opts) ) . await
93+ run_with_std_kv_deadline ( & self . cluster_version , self . agent . get_meta ( opts) ) . await
9494 }
9595
9696 pub async fn delete ( & self , opts : DeleteOptions < ' _ > ) -> Result < DeleteResult > {
97- run_with_std_kv_deadline ( self . agent . delete ( opts) ) . await
97+ run_with_std_kv_deadline ( & self . cluster_version , self . agent . delete ( opts) ) . await
9898 }
9999
100100 pub async fn get_and_lock ( & self , opts : GetAndLockOptions < ' _ > ) -> Result < GetAndLockResult > {
101- run_with_std_kv_deadline ( self . agent . get_and_lock ( opts) ) . await
101+ run_with_std_kv_deadline ( & self . cluster_version , self . agent . get_and_lock ( opts) ) . await
102102 }
103103
104104 pub async fn get_and_touch ( & self , opts : GetAndTouchOptions < ' _ > ) -> Result < GetAndTouchResult > {
105- run_with_std_kv_deadline ( self . agent . get_and_touch ( opts) ) . await
105+ run_with_std_kv_deadline ( & self . cluster_version , self . agent . get_and_touch ( opts) ) . await
106106 }
107107
108108 pub async fn unlock ( & self , opts : UnlockOptions < ' _ > ) -> Result < UnlockResult > {
109- run_with_std_kv_deadline ( self . agent . unlock ( opts) ) . await
109+ run_with_std_kv_deadline ( & self . cluster_version , self . agent . unlock ( opts) ) . await
110110 }
111111
112112 pub async fn touch ( & self , opts : TouchOptions < ' _ > ) -> Result < TouchResult > {
113- run_with_std_kv_deadline ( self . agent . touch ( opts) ) . await
113+ run_with_std_kv_deadline ( & self . cluster_version , self . agent . touch ( opts) ) . await
114114 }
115115
116116 pub async fn add ( & self , opts : AddOptions < ' _ > ) -> Result < AddResult > {
117- run_with_std_kv_deadline ( self . agent . add ( opts) ) . await
117+ run_with_std_kv_deadline ( & self . cluster_version , self . agent . add ( opts) ) . await
118118 }
119119
120120 pub async fn replace ( & self , opts : ReplaceOptions < ' _ > ) -> Result < ReplaceResult > {
121- run_with_std_kv_deadline ( self . agent . replace ( opts) ) . await
121+ run_with_std_kv_deadline ( & self . cluster_version , self . agent . replace ( opts) ) . await
122122 }
123123
124124 pub async fn append ( & self , opts : AppendOptions < ' _ > ) -> Result < AppendResult > {
125- run_with_std_kv_deadline ( self . agent . append ( opts) ) . await
125+ run_with_std_kv_deadline ( & self . cluster_version , self . agent . append ( opts) ) . await
126126 }
127127
128128 pub async fn prepend ( & self , opts : PrependOptions < ' _ > ) -> Result < PrependResult > {
129- run_with_std_kv_deadline ( self . agent . prepend ( opts) ) . await
129+ run_with_std_kv_deadline ( & self . cluster_version , self . agent . prepend ( opts) ) . await
130130 }
131131
132132 pub async fn increment ( & self , opts : IncrementOptions < ' _ > ) -> Result < IncrementResult > {
133- run_with_std_kv_deadline ( self . agent . increment ( opts) ) . await
133+ run_with_std_kv_deadline ( & self . cluster_version , self . agent . increment ( opts) ) . await
134134 }
135135
136136 pub async fn decrement ( & self , opts : DecrementOptions < ' _ > ) -> Result < DecrementResult > {
137- run_with_std_kv_deadline ( self . agent . decrement ( opts) ) . await
137+ run_with_std_kv_deadline ( & self . cluster_version , self . agent . decrement ( opts) ) . await
138138 }
139139
140140 pub async fn get_collection_id (
141141 & self ,
142142 opts : GetCollectionIdOptions < ' _ > ,
143143 ) -> Result < GetCollectionIdResult > {
144- run_with_std_kv_deadline ( self . agent . get_collection_id ( opts) ) . await
144+ run_with_std_kv_deadline ( & self . cluster_version , self . agent . get_collection_id ( opts) ) . await
145145 }
146146
147147 pub async fn lookup_in ( & self , opts : LookupInOptions < ' _ > ) -> Result < LookupInResult > {
148- run_with_std_kv_deadline ( self . agent . lookup_in ( opts) ) . await
148+ run_with_std_kv_deadline ( & self . cluster_version , self . agent . lookup_in ( opts) ) . await
149149 }
150150
151151 pub async fn mutate_in ( & self , opts : MutateInOptions < ' _ > ) -> Result < MutateInResult > {
152- run_with_std_kv_deadline ( self . agent . mutate_in ( opts) ) . await
152+ run_with_std_kv_deadline ( & self . cluster_version , self . agent . mutate_in ( opts) ) . await
153153 }
154154
155155 pub async fn query ( & self , opts : QueryOptions ) -> Result < QueryResultStream > {
0 commit comments