Skip to content

Commit d5da7cc

Browse files
committed
test: Fix unit tests after backoff change
1 parent 32d0088 commit d5da7cc

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

tap-agent/src/agent/sender_account.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1184,13 +1184,13 @@ pub mod tests {
11841184
4,
11851185
*self.next_rav_value.lock().unwrap(),
11861186
);
1187-
reply.send((
1187+
reply.send(Ok((
11881188
UnaggregatedReceipts {
11891189
value: *self.next_unaggregated_fees_value.lock().unwrap(),
11901190
last_id: 0,
11911191
},
11921192
Some(signed_rav),
1193-
))?;
1193+
)))?;
11941194
}
11951195
SenderAllocationMessage::NewReceipt(receipt) => {
11961196
self.receipts.lock().unwrap().push(receipt);

tap-agent/src/agent/sender_allocation.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1162,6 +1162,7 @@ pub mod tests {
11621162
sender_allocation,
11631163
SenderAllocationMessage::TriggerRAVRequest
11641164
)
1165+
.unwrap()
11651166
.unwrap();
11661167

11671168
// Check that the unaggregated fees are correct.
@@ -1481,6 +1482,7 @@ pub mod tests {
14811482
sender_allocation,
14821483
SenderAllocationMessage::TriggerRAVRequest
14831484
)
1485+
.unwrap()
14841486
.unwrap();
14851487

14861488
// expect the actor to keep running
@@ -1552,6 +1554,7 @@ pub mod tests {
15521554
sender_allocation,
15531555
SenderAllocationMessage::TriggerRAVRequest
15541556
)
1557+
.unwrap()
15551558
.unwrap();
15561559
assert_eq!(total_unaggregated_fees.value, 0);
15571560

0 commit comments

Comments
 (0)