Skip to content

Commit

Permalink
change mtu in spec tests to a realistic value
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Mar 23, 2017
1 parent f7fa57b commit f09d967
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions spec/defines/bond/debian_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
'ipaddress' => '10.20.2.1',
'netmask' => '255.255.255.192',
'slaves' => %w(eth0 eth1 eth2),
'mtu' => 1550,
'mtu' => 1500,
'options' => { 'bond-future-option' => 'yes' },
'slave_options' => { 'slave-future-option' => 'no' },
'hotplug' => 'false',
Expand Down Expand Up @@ -90,7 +90,7 @@
'bond-lacp-rate' => 'fast',
'bond-xmit-hash-policy' => 'layer3+4',
'bond-future-option' => 'yes',
'post-up' => 'ip link set dev bond0 mtu 1550'
'post-up' => 'ip link set dev bond0 mtu 1500'
})
end
end
Expand Down
2 changes: 1 addition & 1 deletion spec/defines/bond_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
'ipaddress' => '172.18.1.2',
'netmask' => '255.255.128.0',
'slaves' => %w(eth0 eth1),
'mtu' => 1550,
'mtu' => 1500,
'options' => { 'NM_CONTROLLED' => 'yes' },
'slave_options' => { 'NM_CONTROLLED' => 'no' },

Expand Down

0 comments on commit f09d967

Please sign in to comment.