@@ -4905,26 +4905,29 @@ def test_github_merge_pr(self):
49054905 self .assertEqual (stderr .strip (), expected_stderr )
49064906 self .assertTrue (stdout .strip ().endswith (expected_stdout ), "'%s' ends with '%s'" % (stdout , expected_stdout ))
49074907
4908- # full eligible merged PR, default target branch
4908+ # full eligible merged PR, default target branch;
4909+ # note: we frequently need to change to a more recent PR here,
4910+ # to avoid that this test starts failing because commit status is set to None for old commits
49094911 del args [- 1 ]
4910- args [1 ] = '17065'
4912+ # easyconfig PR for EasyBuild v4.8.2
4913+ args [1 ] = '19105'
49114914
49124915 stdout , stderr = self ._run_mock_eb (args , do_build = True , raise_error = True , testing = False )
49134916
49144917 expected_stdout = '\n ' .join ([
4915- "Checking eligibility of easybuilders/easybuild-easyconfigs PR #17065 for merging..." ,
4918+ "Checking eligibility of easybuilders/easybuild-easyconfigs PR #19105 for merging..." ,
49164919 "* targets develop branch: OK" ,
49174920 "* test suite passes: OK" ,
49184921 "* last test report is successful: OK" ,
49194922 "* no pending change requests: OK" ,
49204923 "* approved review: OK (by SebastianAchilles)" ,
4921- "* milestone is set: OK (4.7.1 )" ,
4924+ "* milestone is set: OK (4.9.0 )" ,
49224925 "* mergeable state is clean: PR is already merged" ,
49234926 '' ,
49244927 "Review OK, merging pull request!" ,
49254928 '' ,
4926- "[DRY RUN] Adding comment to easybuild-easyconfigs issue #17065 : 'Going in, thanks @boegel!'" ,
4927- "[DRY RUN] Merged easybuilders/easybuild-easyconfigs pull request #17065 " ,
4929+ "[DRY RUN] Adding comment to easybuild-easyconfigs issue #19105 : 'Going in, thanks @boegel!'" ,
4930+ "[DRY RUN] Merged easybuilders/easybuild-easyconfigs pull request #19105 " ,
49284931 ])
49294932 expected_stderr = ''
49304933 self .assertEqual (stderr .strip (), expected_stderr )
0 commit comments