Browse Source

Fix lint issue

Change-Id: I220bb42dfffa66e042f1c3067dd4884d6d4a8129
changes/52/432852/1
ZhongShengping 5 years ago
parent
commit
7176e34179
  1. 6
      spec/defines/oslo_messaging_amqp_spec.rb
  2. 6
      spec/defines/oslo_messaging_default_spec.rb
  3. 6
      spec/defines/oslo_messaging_zmq_spec.rb

6
spec/defines/oslo_messaging_amqp_spec.rb

@ -42,10 +42,10 @@ describe 'oslo::messaging::amqp' do
context 'with overridden parameters' do
let :params do
{ :idle_timeout => 2000,
{ :idle_timeout => 2000,
:container_name => 'openstack',
:username => 'newuser',
:password => 'p@ssw0rd',
:username => 'newuser',
:password => 'p@ssw0rd',
}
end
it 'configure oslo_messaging_amqp with overriden values' do

6
spec/defines/oslo_messaging_default_spec.rb

@ -18,9 +18,9 @@ describe 'oslo::messaging::default' do
context 'with overridden parameters' do
let :params do
{
:rpc_response_timeout => '42',
:transport_url => 'proto://url',
:control_exchange => 'openstack',
:rpc_response_timeout => '42',
:transport_url => 'proto://url',
:control_exchange => 'openstack',
}
end

6
spec/defines/oslo_messaging_zmq_spec.rb

@ -28,10 +28,10 @@ describe 'oslo::messaging::zmq' do
context 'with overridden parameters' do
let :params do
{ :rpc_zmq_bind_address => '0.0.0.0',
{ :rpc_zmq_bind_address => '0.0.0.0',
:rpc_zmq_bind_port_retries => '10',
:rpc_zmq_concurrency => 'native',
:rpc_zmq_contexts => '2',
:rpc_zmq_concurrency => 'native',
:rpc_zmq_contexts => '2',
}
end

Loading…
Cancel
Save