Skip to content

Commit 669ba4a

Browse files
committed
Remove RABBITMQ_USE_LONGNAME in clustering acceptance tests
Acceptance tests fail on instance without a FQDN when `RABBITMQ_USE_LONGNAME` is set to `true` in the environment
1 parent 7b6de08 commit 669ba4a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

spec/acceptance/clustering_spec.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ class { 'rabbitmq':
1111
config_cluster => true,
1212
cluster_nodes => ['rabbit1', 'rabbit2'],
1313
cluster_node_type => 'ram',
14-
environment_variables => { 'RABBITMQ_USE_LONGNAME' => true },
1514
erlang_cookie => 'TESTCOOKIE',
1615
wipe_db_on_cookie_change => false,
1716
}
@@ -37,7 +36,6 @@ class { 'rabbitmq':
3736
config_cluster => true,
3837
cluster_nodes => ['rabbit1', 'rabbit2'],
3938
cluster_node_type => 'ram',
40-
environment_variables => { 'RABBITMQ_USE_LONGNAME' => true },
4139
erlang_cookie => 'TESTCOOKIE',
4240
wipe_db_on_cookie_change => true,
4341
}
@@ -83,7 +81,7 @@ class { 'rabbitmq':
8381
config_cluster => true,
8482
cluster_nodes => ['foobar', 'rabbit2'],
8583
cluster_node_type => 'ram',
86-
environment_variables => { 'RABBITMQ_USE_LONGNAME' => true, 'NODENAME' => 'rabbit@foobar' },
84+
environment_variables => { 'NODENAME' => 'rabbit@foobar' },
8785
erlang_cookie => 'TESTCOOKIE',
8886
}
8987
if $facts['os']['family'] == 'RedHat' {

0 commit comments

Comments
 (0)