Skip to content
Browse files

Use ShellCommand to timeout some commands

  • Loading branch information...
1 parent a44ddee commit df2883fbb3cf51f905c7f1062a0985a86fcb047c @rail rail committed Mar 23, 2012
Showing with 4 additions and 3 deletions.
  1. +4 −3 master/preproduction_factory.py
View
7 master/preproduction_factory.py
@@ -194,10 +194,11 @@ def config_tests(self):
))
def run_on_master(self, master_dir, cmd):
- self.addStep(MasterShellCommand(
+ self.addStep(ShellCommand(
name='master_cmd',
- command='bash --login -c \'cd "%s" && %s\'' % (master_dir,
- cmd)
+ command='bash --login -c \'cd "%s" && %s\'' % (master_dir, cmd),
+ workdir=master_dir,
+ flunkOnFailure=False,
))
def coverage(self, project):

0 comments on commit df2883f

Please sign in to comment.
Something went wrong with that request. Please try again.