Skip to content

Commit

Permalink
fix more queueing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tcarmet committed Aug 8, 2024
1 parent 892363f commit 73461c8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion bert_e/tests/test_bert_e.py
Original file line number Diff line number Diff line change
Expand Up @@ -5181,8 +5181,11 @@ def test_queueing_last_pr_build_not_started(self):
problem[4]['status'][2] = {}
solution = deepcopy(self.standard_solution)
solution[(4, 3)][gwfb.QueueIntegrationBranch].pop(0)
solution[(4, None)][gwfb.QueueIntegrationBranch].pop(0)
solution[(5, 1)][gwfb.QueueIntegrationBranch].pop(0)
solution[(5, None)][gwfb.QueueIntegrationBranch].pop(0)
solution[(10, 0)][gwfb.QueueIntegrationBranch].pop(0)
solution[(10, None)][gwfb.QueueIntegrationBranch].pop(0)
qbranches = self.submit_problem(problem)
qc = self.feed_queue_collection(qbranches)
qc.finalize()
Expand All @@ -5197,8 +5200,11 @@ def test_queueing_last_pr_build_failed(self):
problem[4]['status'][2] = {'pipeline': 'FAILED'}
solution = deepcopy(self.standard_solution)
solution[(4, 3)][gwfb.QueueIntegrationBranch].pop(0)
solution[(4, None)][gwfb.QueueIntegrationBranch].pop(0)
solution[(5, 1)][gwfb.QueueIntegrationBranch].pop(0)
solution[(5, None)][gwfb.QueueIntegrationBranch].pop(0)
solution[(10, 0)][gwfb.QueueIntegrationBranch].pop(0)
solution[(10, None)][gwfb.QueueIntegrationBranch].pop(0)
qbranches = self.submit_problem(problem)
qc = self.feed_queue_collection(qbranches)
qc.finalize()
Expand Down Expand Up @@ -5392,7 +5398,7 @@ def test_validation_masterq_diverged(self):

def test_validation_vertical_inclusion(self):
qbranches = self.submit_problem(self.standard_problem)
add_file_to_branch(self.gitrepo, 'q/w/7/5.1/improvement/bar2',
add_file_to_branch(self.gitrepo, 'q/w/13/5.1/improvement/bar2',
'file_pushed_without_bert-e.txt', do_push=True)
qc = self.feed_queue_collection(qbranches)
qc.finalize()
Expand Down

0 comments on commit 73461c8

Please sign in to comment.