Skip to content

Commit d9217a7

Browse files
authored
Add extra sleep for compliancev1 functests (#261)
AB#9350
1 parent bf471e6 commit d9217a7

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

functests/execcompliance_policies.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,8 @@ def test_compliancepolicies_since(self):
295295
"MAINTENANCE_PERFORMED: %s", json_dumps(maintenance_performed, indent=4)
296296
)
297297

298-
LOGGER.debug("Sleep 1 second...")
299-
sleep(1)
298+
LOGGER.debug("Sleep 10 seconds ...")
299+
sleep(10)
300300
compliance = self.arch.compliance.compliant_at(
301301
traffic_light["identity"],
302302
)
@@ -306,8 +306,8 @@ def test_compliancepolicies_since(self):
306306
msg="Assets should be compliant",
307307
)
308308

309-
LOGGER.debug("Sleep 15 seconds...")
310-
sleep(15)
309+
LOGGER.debug("Sleep 10 seconds ...")
310+
sleep(10)
311311
compliance = self.arch.compliance.compliant_at(
312312
traffic_light["identity"],
313313
)
@@ -361,8 +361,8 @@ def test_compliancepolicies_current_outstanding(self):
361361
"MAINTENANCE_REQUIRED: %s", json_dumps(maintenance_request, indent=4)
362362
)
363363

364-
LOGGER.debug("Sleep 1 second...")
365-
sleep(1)
364+
LOGGER.debug("Sleep 10 seconds ...")
365+
sleep(10)
366366

367367
compliance = self.arch.compliance.compliant_at(
368368
traffic_light["identity"],
@@ -387,8 +387,8 @@ def test_compliancepolicies_current_outstanding(self):
387387
"MAINTENANCE_PERFORMED: %s", json_dumps(maintenance_performed, indent=4)
388388
)
389389

390-
LOGGER.debug("Sleep 1 second...")
391-
sleep(1)
390+
LOGGER.debug("Sleep 10 seconds ...")
391+
sleep(10)
392392

393393
compliance = self.arch.compliance.compliant_at(
394394
traffic_light["identity"],

0 commit comments

Comments
 (0)