Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jhellerstein committed Mar 4, 2012
1 parent a7e1676 commit 9da1985
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/tc_chord.rb
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ def do_lookup_tests(nodes)
end
end

# now check that all nodes hear the same results for pred_resp and succ_resp.
# we check for agreement pairwise.
(0..nodes.length - 2).each do |i|
assert_equal(3, nodes[i].pred_cache.length)
assert_equal(nodes[i].pred_cache.to_a.sort, nodes[i+1].pred_cache.to_a.sort)
Expand Down

0 comments on commit 9da1985

Please sign in to comment.