b2b41c0de573e535de686bd84aa4e80da45bde42,foreman/data_refinery_foreman/surveyor/test_end_to_end.py,TranscriptomeRedownloadingTestCase,test_transcriptome_redownloading,#TranscriptomeRedownloadingTestCase#Any#,586

Before Change


                // definitely get it before the second one. This is
                // actually kinda desirable for testing though because
                // we should be able to handle it either way.
                try:
                    wait_for_job(processor_job, ProcessorJob, start_time)
                except:
                    pass

            // The processor job that had a missing file will have
            // recreated its DownloaderJob, which means there should now be two.
            downloader_jobs = DownloaderJob.objects.all().order_by("-id")
            self.assertEqual(downloader_jobs.count(), 2)

            // However DownloaderJobs don"t get queued immediately, so

After Change


                // One of the calls to wait_for_job will fail if the
                // job aborts before it we selected all the
                // processor jobs.
                processor_job = wait_for_job(processor_job, ProcessorJob, timezone.now())
                if processor_job.success:
                    successful_processor_jobs.append(processor_job)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: AlexsLemonade/refinebio
Commit Name: b2b41c0de573e535de686bd84aa4e80da45bde42
Time: 2020-06-15
Author: willvauclain.dev@gmail.com
File Name: foreman/data_refinery_foreman/surveyor/test_end_to_end.py
Class Name: TranscriptomeRedownloadingTestCase
Method Name: test_transcriptome_redownloading


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 903b7eaec33fb4b1fd85c3fb5e0bb580586cfcce
Time: 2017-06-30
Author: yutiansut@qq.com
File Name: QUANTAXIS/QATask/QA_Queue_standard.py
Class Name: QA_Queue
Method Name: run


Project Name: home-assistant/home-assistant
Commit Name: bfb5089ed59f1df8cf53a3b517ac6b091f539a26
Time: 2015-03-08
Author: andyt05@gmail.com
File Name: homeassistant/components/device_tracker/nmap_tracker.py
Class Name: NmapDeviceScanner
Method Name: _update_info