@@ -132,17 +132,9 @@ mod tests {
132
132
. unwrap ( )
133
133
} ) ;
134
134
135
- println ! ( "toxic_local_url in test 1: {}" , toxic_local_addr) ;
136
135
let mut toxic_client =
137
136
rt. block_on ( async { async_memcached:: Client :: new ( toxic_local_url) . await . unwrap ( ) } ) ;
138
137
139
- let response = rt. block_on ( async { clean_client. version ( ) . await } ) ;
140
- println ! ( "test 1 version response from clean client: {:?}" , response) ;
141
- assert ! ( response. is_ok( ) ) ;
142
- let response = rt. block_on ( async { toxic_client. version ( ) . await } ) ;
143
- println ! ( "test 1 version response from toxic client: {:?}" , response) ;
144
- assert ! ( response. is_ok( ) ) ;
145
-
146
138
for key in & keys {
147
139
let _ = rt. block_on ( async { clean_client. delete ( key) . await } ) ;
148
140
let result = rt. block_on ( async { clean_client. get ( key) . await } ) ;
@@ -192,7 +184,6 @@ mod tests {
192
184
. unwrap ( )
193
185
} ) ;
194
186
195
- println ! ( "toxic_local_url in test 2: {}" , toxic_local_addr) ;
196
187
let mut toxic_client =
197
188
rt. block_on ( async { async_memcached:: Client :: new ( toxic_local_url) . await . unwrap ( ) } ) ;
198
189
@@ -207,13 +198,6 @@ mod tests {
207
198
208
199
let byte_limit = multiset_command. len ( ) - 10 ; // First two commands should be intact, last one cut off
209
200
210
- let response = rt. block_on ( async { clean_client. version ( ) . await } ) ;
211
- println ! ( "test 2 version response from clean client: {:?}" , response) ;
212
- assert ! ( response. is_ok( ) ) ;
213
- let response = rt. block_on ( async { toxic_client. version ( ) . await } ) ;
214
- println ! ( "test 2 version response from toxic client: {:?}" , response) ;
215
- assert ! ( response. is_ok( ) ) ;
216
-
217
201
let _ = toxic_proxy
218
202
. with_limit_data ( "upstream" . into ( ) , byte_limit as u32 , 1.0 )
219
203
. apply ( || {
@@ -281,17 +265,9 @@ mod tests {
281
265
. unwrap ( )
282
266
} ) ;
283
267
284
- println ! ( "toxic_local_url in test 3: {}" , toxic_local_addr) ;
285
268
let mut toxic_client =
286
269
rt. block_on ( async { async_memcached:: Client :: new ( toxic_local_url) . await . unwrap ( ) } ) ;
287
270
288
- let response = rt. block_on ( async { clean_client. version ( ) . await } ) ;
289
- println ! ( "test 3 version response from clean client: {:?}" , response) ;
290
- assert ! ( response. is_ok( ) ) ;
291
- let response = rt. block_on ( async { toxic_client. version ( ) . await } ) ;
292
- println ! ( "test 3 version response from toxic client: {:?}" , response) ;
293
- assert ! ( response. is_ok( ) ) ;
294
-
295
271
for key in & keys {
296
272
let _ = rt. block_on ( async { clean_client. delete ( key) . await } ) ;
297
273
let result = rt. block_on ( async { clean_client. get ( key) . await } ) ;
0 commit comments