Commit cce8da26 authored by Jérome Perrin's avatar Jérome Perrin

fixup! fixup! erp5.util.testnode: tell SR to clone in shared mode

checkRevision now returns a callable, return a do-nothing lambda when
the expected revision is already checked out

/reviewed-on nexedi/erp5!990
parent 0ec37f80
Pipeline #6822 failed with stage
......@@ -195,7 +195,7 @@ shared = true
def checkRevision(self, test_result, node_test_suite):
if node_test_suite.revision == test_result.revision:
return
return lambda: None
logger.info('Disagreement on tested revision, checking out: %r != %r',
node_test_suite.revision, test_result.revision)
updater_kw = dict(git_binary=self.config['git_binary'],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment