commit 425ef28924f9d4178eaea2c0c0fe9e580b796aaa
Author: Sean Mooney <email address hidden>
Date: Mon Oct 12 22:43:31 2020 +0100
add min of 1 to rpc_conn_pool_size
This change add a min value of 1 to
[oslo_messaging_rabbit]/rpc_conn_pool_size
such that there is always at least 1 connection avaiable.
This change add a runtime check to ensure that
[oslo_messaging_rabbit]/rpc_conn_pool_size is greater than
or equal too [oslo_messaging_rabbit]/conn_pool_min_size
NOTE(stephenfin): We must set the 'conn_pool_min_size' config option in
the 'RabbitMQFailoverTests.test_failover_scenario' test to avoid raising
an error because the minimum is greater than the configured value. This
wasn't necessary on stable/train due to the presence of change
I0f86416623a0b718516147f0660b4df2b74cf867 ("Setup backend scenarios for
functional tests") which changed how our functional tests ran.
Change-Id: I2ad4b9f1d012c9f0586a932ac27d96da1bcc4e4c
Closes-Bug: #1899533
(cherry picked from commit 00d15eaeaba0ded0330cdcec7b19eee3adbfb1e1)
(cherry picked from commit 8f5847dcbe5144272ff7295fce2b50a9f544e5b0)
(cherry picked from commit 7c9b070f5bc07692c837f9915eb0d8525065d0f6)
Reviewed: https:/ /review. opendev. org/759410 /git.openstack. org/cgit/ openstack/ oslo.messaging/ commit/ ?id=425ef28924f 9d4178eaea2c0c0 fe9e580b796aaa
Committed: https:/
Submitter: Zuul
Branch: stable/train
commit 425ef28924f9d41 78eaea2c0c0fe9e 580b796aaa
Author: Sean Mooney <email address hidden>
Date: Mon Oct 12 22:43:31 2020 +0100
add min of 1 to rpc_conn_pool_size
This change add a min value of 1 to messaging_ rabbit] /rpc_conn_ pool_size
[oslo_
such that there is always at least 1 connection avaiable.
This change add a runtime check to ensure that messaging_ rabbit] /rpc_conn_ pool_size is greater than _rabbit] /conn_pool_ min_size
[oslo_
or equal too [oslo_messaging
Modified: messaging/ tests/functiona l/test_ rabbitmq. py
oslo_
NOTE( stephenfin) : We must set the 'conn_pool_ min_size' config option in erTests. test_failover_ scenario' test to avoid raising a0b718516147f06 60b4df2b74cf867 ("Setup backend scenarios for
the 'RabbitMQFailov
an error because the minimum is greater than the configured value. This
wasn't necessary on stable/train due to the presence of change
I0f86416623
functional tests") which changed how our functional tests ran.
Change-Id: I2ad4b9f1d012c9 f0586a932ac27d9 6da1bcc4e4c 0330cdcec7b19ee e3adbfb1e1) 72ff7295fce2b50 a9f544e5b0) 2c837f9915eb0d8 525065d0f6)
Closes-Bug: #1899533
(cherry picked from commit 00d15eaeaba0ded
(cherry picked from commit 8f5847dcbe51442
(cherry picked from commit 7c9b070f5bc0769