Commit a49f2124 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
parent 4f288d95
Pipeline #6780 passed with stage
in 0 seconds
......@@ -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