dpgaspar commented on a change in pull request #12885:
URL: https://github.com/apache/superset/pull/12885#discussion_r568679420
##########
File path: tests/celery_tests.py
##########
@@ -274,9 +279,12 @@ def
test_run_async_cta_query_with_lower_limit(setup_sqllab, ctas_method):
result = run_sql(
QUERY, cta=True, ctas_method=ctas_method, async_=True,
tmp_table=tmp_table
)
- time.sleep(CELERY_SLEEP_TIME)
+ for _ in range(CELERY_SLEEP_TIME * 2):
Review comment:
can you DRY it?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]