Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
aeyakovenko authored and garious committed Jun 4, 2018
1 parent 50458d9 commit b2c2fa4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/crdt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -875,6 +875,8 @@ mod tests {
}
assert!(one && two);
}

/// test that gossip requests are eventually generated for all nodes
#[test]
fn gossip_request() {
let me = ReplicatedData::new(
Expand Down Expand Up @@ -911,7 +913,8 @@ mod tests {
"127.0.0.1:1238".parse().unwrap(),
);
crdt.insert(&nxt2);

// check that the service works
// and that it eventually produces a request for both nodes
let (sender, reader) = channel();
let recycler = BlobRecycler::default();
let exit = Arc::new(AtomicBool::new(false));
Expand Down Expand Up @@ -945,6 +948,7 @@ mod tests {
assert!(one && two);
}

/// test window requests respond with the right blob, and do not overrun
#[test]
fn run_window_request() {
let window = default_window();
Expand Down

0 comments on commit b2c2fa4

Please sign in to comment.