Fix the checks for the default config in the integration specs

This commit is contained in:
Greg Karékinian 2019-08-14 16:33:03 +02:00
parent 5c31191ff8
commit f25802a6ce

View File

@ -45,10 +45,7 @@ describe 'IPFS' do
{
'Swarm.AddrFilters' => addr_filters.rstrip,
'Swarm.DisableBandwidthMetrics' => true,
'Swarm.DisableRelay' => true,
'Swarm.ConnMgr.HighWater' => 10,
'Swarm.ConnMgr.LowWater' => 1,
'Gateway.Writable' => true
}.each do |k, v|
describe command("IPFS_PATH=/home/ipfs/.ipfs ipfs config '#{k}'") do
let(:sudo_options) { '-u ipfs -i' }