Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
adzialocha committed Nov 16, 2024
1 parent 60d4dd5 commit 16ac282
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions rhio/src/node/actor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,7 @@ fn is_subject_matching(subscriptions: &Vec<Subscription>, incoming: &ScopedSubje
}

/// Returns true if incoming blob announcement is of interested to our local node.
#[allow(unused_variables)]
fn is_bucket_matching(subscriptions: &Vec<Subscription>, incoming: &ScopedBucket) -> bool {
// @TODO
false
Expand Down
4 changes: 2 additions & 2 deletions rhio/src/topic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ mod tests {
bucket: ScopedBucket::new("airplanes", public_key_1),
}
.into();
assert_eq!(subscription_0.id(), subscription_1.id());
assert_ne!(subscription_1.id(), subscription_2.id());
assert_ne!(subscription_0.id(), subscription_1.id());
assert_eq!(subscription_1.id(), subscription_2.id());

// NATS subjects use public key as gossip topic id.
let subscription_3: Query = Subscription::Subject {
Expand Down

0 comments on commit 16ac282

Please sign in to comment.