Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Raised the default timeout for calling openscad to make tests not fail

  • Loading branch information...
commit dab5a140ef81d759dcbe272034ef446b47445c87 1 parent 4387aa5
@elmom authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 openscad_utils.py
View
4 openscad_utils.py
@@ -29,7 +29,7 @@ def collect_test_modules(dirpath=None):
class Timeout(Exception): pass
-def call_openscad(path, stlpath, timeout=1):
+def call_openscad(path, stlpath, timeout=5):
command = ['openscad', '-s', str(stlpath), str(path)]
print command
if timeout:
@@ -37,7 +37,7 @@ def call_openscad(path, stlpath, timeout=1):
proc = Popen(command,
stdout=PIPE, stderr=PIPE, close_fds=True)
calltime = time.time()
- time.sleep(0.01)
+ time.sleep(0.05)
#print calltime
while True:
if proc.poll() is not None:
Please sign in to comment.
Something went wrong with that request. Please try again.