diff --git a/test/test_integration_job.py b/test/test_integration_job.py index 4804f6ce9..b4c7d92b2 100644 --- a/test/test_integration_job.py +++ b/test/test_integration_job.py @@ -213,11 +213,13 @@ def test_retrieve_jobs_limit(self, service): for _ in range(3): jobs.append(self._run_program(service)) - rjobs = service.jobs(limit=2) + rjobs = service.jobs(limit=2, program_id=self.program_ids[service.auth]) self.assertEqual(len(rjobs), 2) job_ids = {job.job_id for job in jobs} rjob_ids = {rjob.job_id for rjob in rjobs} - self.assertTrue(rjob_ids.issubset(job_ids)) + self.assertTrue( + rjob_ids.issubset(job_ids), f"Submitted: {job_ids}, Retrieved: {rjob_ids}" + ) @run_cloud_legacy_real def test_retrieve_pending_jobs(self, service):