Skip to content

Commit b9de148

Browse files
committed
fix: add tokyo to tests
1 parent fb96315 commit b9de148

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

crates/tap-agent/src/agent/sender_account.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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
) {

crates/tap-agent/src/agent/sender_accounts_manager.rs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)