File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
crates/tap-agent/src/agent Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -1735,6 +1735,7 @@ pub mod tests {
17351735 }
17361736
17371737 #[ rstest:: rstest]
1738+ #[ tokio:: test]
17381739 async fn test_update_receipt_fees_trigger_rav (
17391740 #[ future( awt) ] mut basic_sender_account : TestSenderAccount ,
17401741 ) {
Original file line number Diff line number Diff line change @@ -1180,11 +1180,8 @@ mod tests {
11801180 }
11811181
11821182 #[ rstest:: rstest]
1183- async fn test_receive_notifications (
1184- #[ future( awt) ] mut pglistener : PgListener ,
1185- #[ future( awt) ] _receipts : ( ) ,
1186- #[ future( awt) ] pgpool : PgPool ,
1187- ) {
1183+ #[ tokio:: test]
1184+ async fn test_receive_notifications ( #[ future( awt) ] pgpool : PgPool ) {
11881185 let prefix = generate_random_prefix ( ) ;
11891186 // create dummy allocation
11901187
@@ -1204,7 +1201,7 @@ mod tests {
12041201 . await
12051202 . unwrap ( ) ;
12061203
1207- // create tokio task to listen for notifications
1204+ let mut pglistener = PgListener :: connect_with ( & pgpool . clone ( ) ) . await . unwrap ( ) ;
12081205 pglistener
12091206 . listen ( "scalar_tap_receipt_notification" )
12101207 . await
You can’t perform that action at this time.
0 commit comments