Update fullstack efficiency
Now, the efficiency of fullstack is low, I will fix it with a series of patch. [1]: Shorten test_scheduled_operations time [2]: Instead of sequential execution with parallel execution of Test case [3]: And so on. Change-Id: Ibf1d00647158828a0fed55ba8c1623f0673de6b0
This commit is contained in:
parent
0fae025798
commit
b1e564a1e5
@ -45,9 +45,9 @@ function configure_karbor_api {
|
|||||||
|
|
||||||
iniset $KARBOR_API_CONF DEFAULT debug $ENABLE_DEBUG_LOG_LEVEL
|
iniset $KARBOR_API_CONF DEFAULT debug $ENABLE_DEBUG_LOG_LEVEL
|
||||||
iniset $KARBOR_API_CONF DEFAULT use_syslog $SYSLOG
|
iniset $KARBOR_API_CONF DEFAULT use_syslog $SYSLOG
|
||||||
iniset $KARBOR_API_CONF DEFAULT min_interval 900
|
iniset $KARBOR_API_CONF DEFAULT min_interval 300
|
||||||
iniset $KARBOR_API_CONF DEFAULT min_window_time 225
|
iniset $KARBOR_API_CONF DEFAULT min_window_time 75
|
||||||
iniset $KARBOR_API_CONF DEFAULT max_window_time 450
|
iniset $KARBOR_API_CONF DEFAULT max_window_time 150
|
||||||
echo "Configuring Karbor API Database"
|
echo "Configuring Karbor API Database"
|
||||||
iniset $KARBOR_API_CONF database connection `database_connection_url karbor`
|
iniset $KARBOR_API_CONF database connection `database_connection_url karbor`
|
||||||
iniset_rpc_backend karbor $KARBOR_API_CONF
|
iniset_rpc_backend karbor $KARBOR_API_CONF
|
||||||
|
@ -110,7 +110,7 @@ class ScheduledOperationsTest(karbor_base.KarborBaseTest):
|
|||||||
|
|
||||||
def test_scheduled_operations_create_and_scheduled(self):
|
def test_scheduled_operations_create_and_scheduled(self):
|
||||||
freq = 2
|
freq = 2
|
||||||
pattern = '*/15 * * * *'
|
pattern = '*/5 * * * *'
|
||||||
cur_property = {'pattern': pattern, 'format': 'crontab'}
|
cur_property = {'pattern': pattern, 'format': 'crontab'}
|
||||||
|
|
||||||
before_items = self.karbor_client.checkpoints.list(self.provider_id)
|
before_items = self.karbor_client.checkpoints.list(self.provider_id)
|
||||||
|
Loading…
Reference in New Issue
Block a user