Skip to content

Commit

Permalink
Remove RABBITMQ_USE_LONGNAME in clustering acceptance tests
Browse files Browse the repository at this point in the history
Acceptance tests fail on instance without a FQDN when
`RABBITMQ_USE_LONGNAME` is set to `true` in the environment
  • Loading branch information
wyardley committed May 11, 2023
1 parent c677d1c commit 00d422d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions spec/acceptance/clustering_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ class { 'rabbitmq':
config_cluster => true,
cluster_nodes => ['rabbit1', 'rabbit2'],
cluster_node_type => 'ram',
environment_variables => { 'RABBITMQ_USE_LONGNAME' => true },
erlang_cookie => 'TESTCOOKIE',
wipe_db_on_cookie_change => false,
}
Expand All @@ -37,7 +36,6 @@ class { 'rabbitmq':
config_cluster => true,
cluster_nodes => ['rabbit1', 'rabbit2'],
cluster_node_type => 'ram',
environment_variables => { 'RABBITMQ_USE_LONGNAME' => true },
erlang_cookie => 'TESTCOOKIE',
wipe_db_on_cookie_change => true,
}
Expand Down Expand Up @@ -83,7 +81,7 @@ class { 'rabbitmq':
config_cluster => true,
cluster_nodes => ['foobar', 'rabbit2'],
cluster_node_type => 'ram',
environment_variables => { 'RABBITMQ_USE_LONGNAME' => true, 'NODENAME' => 'rabbit@foobar' },
environment_variables => { 'NODENAME' => 'rabbit@foobar' },
erlang_cookie => 'TESTCOOKIE',
}
if $facts['os']['family'] == 'RedHat' {
Expand Down

0 comments on commit 00d422d

Please sign in to comment.