Skip to content

Commit

Permalink
Fix Fusion test
Browse files Browse the repository at this point in the history
  • Loading branch information
kesmit13 committed Aug 6, 2024
1 parent 2064f4f commit e7582dc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions singlestoredb/tests/test_fusion.py
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,8 @@ def test_show_jobs_and_executions(self):
'Status', 'ScheduledStartTime', 'StartedAt', 'FinishedAt',
]
exec_job_ids = [x[2] for x in out]
assert [x for x in exec_job_ids] == [job_id]
for x in exec_job_ids:
assert x == job_id

# show executions for job with id job_id from 1 to 5 extended
self.cur.execute(f'show job executions for {job_id} from 1 to 5 extended')
Expand All @@ -698,7 +699,8 @@ def test_show_jobs_and_executions(self):
'SnapshotNotebookPath',
]
exec_job_ids = [x[2] for x in out]
assert [x for x in exec_job_ids] == [job_id]
for x in exec_job_ids:
assert x == job_id

# drop job
self.cur.execute(f'drop jobs {job_id}')
Expand Down

0 comments on commit e7582dc

Please sign in to comment.