test/commands/test_node.rb in zold-0.29.27 vs test/commands/test_node.rb in zold-0.29.28
- old
+ new
@@ -54,10 +54,10 @@
retries ||= 0
Zold::Fetch.new(
wallets: wallets, copies: copies.root,
remotes: remotes, log: test_log
).run(['fetch', '--ignore-score-weakness', '--tolerate-edges', '--tolerate-quorum=1'])
- rescue StandardError => _
+ rescue StandardError => _e
sleep 1
retry if (retries += 1) < 3
end
assert_equal(1, copies.all.count)
assert_equal('1', copies.all[0][:name])