@@ -173,7 +173,7 @@ async fn test_consume_ok() {
173
173
let plugin = get_test_plugin ( mock_server. uri ( ) , topic, None ) ;
174
174
175
175
let handle = tokio:: spawn ( async move {
176
- plugin. run ( ) . await . unwrap ( ) ;
176
+ plugin. run ( ) . await ;
177
177
} ) ;
178
178
// Wait for the consumer to connect
179
179
tokio:: time:: sleep ( CONNECT_WAIT_TIME ) . await ;
@@ -245,7 +245,7 @@ async fn test_consume_transformed_json_ok() {
245
245
plugin. set_transformer ( Some ( transformer_tx) ) ;
246
246
247
247
let handle = tokio:: spawn ( async move {
248
- plugin. run ( ) . await . unwrap ( ) ;
248
+ plugin. run ( ) . await ;
249
249
} ) ;
250
250
// Wait for the consumer to connect
251
251
tokio:: time:: sleep ( CONNECT_WAIT_TIME ) . await ;
@@ -330,7 +330,7 @@ async fn test_consume_transformed_string_ok() {
330
330
plugin. set_transformer ( Some ( transformer_tx) ) ;
331
331
332
332
let handle = tokio:: spawn ( async move {
333
- plugin. run ( ) . await . unwrap ( ) ;
333
+ plugin. run ( ) . await ;
334
334
} ) ;
335
335
// Wait for the consumer to connect
336
336
tokio:: time:: sleep ( CONNECT_WAIT_TIME ) . await ;
@@ -365,7 +365,7 @@ async fn test_missing_app_id_nack() {
365
365
let plugin = get_test_plugin ( mock_server. uri ( ) , topic, None ) ;
366
366
367
367
let handle = tokio:: spawn ( async move {
368
- plugin. run ( ) . await . unwrap ( ) ;
368
+ plugin. run ( ) . await ;
369
369
} ) ;
370
370
371
371
// Wait for the consumer to connect
@@ -415,7 +415,7 @@ async fn test_missing_event_type_nack() {
415
415
let plugin = get_test_plugin ( mock_server. uri ( ) , topic, None ) ;
416
416
417
417
let handle = tokio:: spawn ( async move {
418
- plugin. run ( ) . await . unwrap ( ) ;
418
+ plugin. run ( ) . await ;
419
419
} ) ;
420
420
421
421
// Wait for the consumer to connect
@@ -467,7 +467,7 @@ async fn test_consume_svix_503() {
467
467
let plugin = get_test_plugin ( mock_server. uri ( ) , topic, None ) ;
468
468
469
469
let handle = tokio:: spawn ( async move {
470
- plugin. run ( ) . await . unwrap ( ) ;
470
+ plugin. run ( ) . await ;
471
471
} ) ;
472
472
// Wait for the consumer to connect
473
473
tokio:: time:: sleep ( CONNECT_WAIT_TIME ) . await ;
@@ -510,7 +510,7 @@ async fn test_consume_svix_offline() {
510
510
drop ( mock_server) ;
511
511
512
512
let handle = tokio:: spawn ( async move {
513
- plugin. run ( ) . await . unwrap ( ) ;
513
+ plugin. run ( ) . await ;
514
514
} ) ;
515
515
// Wait for the consumer to connect
516
516
tokio:: time:: sleep ( CONNECT_WAIT_TIME ) . await ;
0 commit comments