Skip to content

Commit

Permalink
Fix IS_CLUSTER variable
Browse files Browse the repository at this point in the history
  • Loading branch information
rgomezborder committed Dec 4, 2024
1 parent 07726ca commit 4f2b1ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/configuration/network_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
sync = command('ip addr show').stdout
it 'Have a network sync' do
interfaces_with_ip = sync.scan(/inet\s+(\d+\.\d+\.\d+\.\d+)/).flatten
if ENV['IS_CLUSTER']
if ENV['IS_CLUSTER'] == "true"
expect(interfaces_with_ip.length).to be >= 3
else
skip 'One node does not need sync interface'
Expand Down

0 comments on commit 4f2b1ba

Please sign in to comment.