Browse Source

Merge "Increase TestDhcpAgentHA.agent_down_time to 30 seconds" into stable/stein

changes/85/681585/1
Zuul 1 week ago
parent
commit
3f5c61bd0a

+ 2
- 1
neutron/tests/fullstack/resources/config.py View File

@@ -83,7 +83,8 @@ class NeutronConfigFixture(ConfigFixture):
83 83
                 'lock_path': '$state_path/lock',
84 84
             },
85 85
             'agent': {
86
-                'report_interval': str(env_desc.agent_down_time / 2.0)
86
+                'report_interval': str(env_desc.agent_down_time / 2.0),
87
+                'log_agent_heartbeats': 'True',
87 88
             },
88 89
         })
89 90
         policy_file = self._generate_policy_json()

+ 1
- 1
neutron/tests/fullstack/test_dhcp_agent.py View File

@@ -124,7 +124,7 @@ class TestDhcpAgentNoHA(BaseDhcpAgentTest):
124 124
 class TestDhcpAgentHA(BaseDhcpAgentTest):
125 125
 
126 126
     number_of_hosts = 2
127
-    agent_down_time = 10
127
+    agent_down_time = 30
128 128
 
129 129
     def _wait_until_network_rescheduled(self, old_agent):
130 130
         def _agent_rescheduled():

Loading…
Cancel
Save