3232)
3333
3434
35- def create_linode (test_linode_client ):
35+ def create_linode_func (test_linode_client ):
3636 client = test_linode_client
3737
3838 label = get_test_label ()
@@ -49,7 +49,7 @@ def create_linode(test_linode_client):
4949
5050@pytest .fixture
5151def create_linode_for_ip_share (test_linode_client ):
52- linode = create_linode (test_linode_client )
52+ linode = create_linode_func (test_linode_client )
5353
5454 yield linode
5555
@@ -58,7 +58,7 @@ def create_linode_for_ip_share(test_linode_client):
5858
5959@pytest .fixture
6060def create_linode_to_be_shared_with_ips (test_linode_client ):
61- linode = create_linode (test_linode_client )
61+ linode = create_linode_func (test_linode_client )
6262
6363 yield linode
6464
@@ -302,6 +302,8 @@ def test_create_and_delete_vlan(test_linode_client, linode_for_vlan_tests):
302302 wait_for_condition (3 , 100 , get_status , linode , "rebooting" )
303303 assert linode .status == "rebooting"
304304
305+ wait_for_condition (3 , 100 , get_status , linode , "running" )
306+
305307 # Delete the VLAN
306308 is_deleted = test_linode_client .networking .delete_vlan (
307309 vlan_label , linode .region
@@ -334,6 +336,7 @@ def test_get_global_firewall_settings(test_linode_client):
334336
335337def test_ip_info (test_linode_client , create_linode ):
336338 linode = create_linode
339+ wait_for_condition (3 , 100 , get_status , linode , "running" )
337340
338341 ip_info = test_linode_client .load (IPAddress , linode .ipv4 [0 ])
339342
0 commit comments