We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 203479b commit f6a02ceCopy full SHA for f6a02ce
1 file changed
test/integration/conftest.py
@@ -310,6 +310,12 @@ def test_domain(test_linode_client):
310
domain=domain_addr, soa_email=soa_email, tags=["test-tag"]
311
)
312
313
+ def get_domain_status():
314
+ domain.invalidate()
315
+ return domain.status == "active"
316
+
317
+ wait_for_condition(3, 30, get_domain_status)
318
319
# Create a SRV record
320
domain.record_create(
321
"SRV",
@@ -333,6 +339,12 @@ def test_volume(test_linode_client):
333
339
334
340
volume = client.volume_create(label=label, region=region)
335
341
342
+ def get_volume_status():
343
+ volume.invalidate()
344
+ return volume.status == "active"
345
346
+ wait_for_condition(5, 45, get_volume_status)
347
336
348
yield volume
337
349
338
350
send_request_when_resource_available(timeout=100, func=volume.delete)
0 commit comments