mirror of
https://github.com/apache/superset.git
synced 2026-04-07 10:31:50 +00:00
fix: flaky test on reports (#14544)
This commit is contained in:
committed by
GitHub
parent
809983d32d
commit
7a95f8f839
@@ -806,9 +806,9 @@ def test_report_schedule_working_timeout(create_report_slack_chart_working):
|
||||
logs = db.session.query(ReportExecutionLog).all()
|
||||
# Two logs, first is created by fixture
|
||||
assert len(logs) == 2
|
||||
assert logs[1].error_message == ReportScheduleWorkingTimeoutError.message
|
||||
assert logs[1].state == ReportState.ERROR
|
||||
|
||||
assert ReportScheduleWorkingTimeoutError.message in [
|
||||
log.error_message for log in logs
|
||||
]
|
||||
assert create_report_slack_chart_working.last_state == ReportState.ERROR
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user