test/commands/test_node.rb in zold-0.19.0 vs test/commands/test_node.rb in zold-0.19.1
- old
+ new
@@ -45,18 +45,18 @@
wallets = home.wallets
wallet = home.create_wallet
remotes = home.remotes
remotes.add('localhost', port)
Zold::Push.new(wallets: wallets, remotes: remotes, log: test_log).run(
- ['push', '--ignore-score-weakness', '--tolerate-edges']
+ ['push', '--ignore-score-weakness', '--tolerate-edges', '--tolerate-quorum=1']
)
copies = home.copies(wallet)
begin
retries ||= 0
Zold::Fetch.new(
wallets: wallets, copies: copies.root,
remotes: remotes, log: test_log
- ).run(['fetch', '--ignore-score-weakness', '--tolerate-edges'])
+ ).run(['fetch', '--ignore-score-weakness', '--tolerate-edges', '--tolerate-quorum=1'])
rescue StandardError => _
sleep 1
retry if (retries += 1) < 3
end
assert_equal(1, copies.all.count)