ci: Refactor mksnapshot test so that it doesn't stall. (#16875)

This commit is contained in:
John Kleinschmidt 2019-02-11 12:21:00 -10:00 committed by GitHub
parent 7baa218ca9
commit 6a47089c78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 20 additions and 7 deletions

View file

@ -39,7 +39,7 @@ def main():
+ context_snapshot
test_path = os.path.join(SOURCE_ROOT, 'spec', 'fixtures', \
'snapshot-items-available.js')
'snapshot-items-available')
if sys.platform == 'darwin':
bin_files = glob.glob(os.path.join(app_path, '*.bin'))
@ -64,7 +64,7 @@ def main():
except KeyboardInterrupt:
print 'Other error'
returncode = 0
print 'Returning with error code: {0}'.format(returncode)
return returncode