Skip to content

Commit bee44d7

Browse files
committed
add asyncio sleep to ci-smoke-test shutdown
1 parent a34c184 commit bee44d7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ledfx/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def parse_args():
189189
"--ci-smoke-test",
190190
dest="ci_smoke_test",
191191
action="store_true",
192-
help="Launch LedFx for 10 seconds to sanity check the install",
192+
help="Launch LedFx and then exit after 5 seconds to sanity check the install",
193193
)
194194
return parser.parse_args()
195195

ledfx/core.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ async def async_start(self, open_ui=False):
290290
self.open_ui()
291291

292292
if self.ci_testing:
293+
await asyncio.sleep(5)
293294
self.stop(5)
294295
await self.flush_loop()
295296

0 commit comments

Comments
 (0)