Skip to content

Commit

Permalink
[oracle] fix helper script on linux - handle weird exception.
Browse files Browse the repository at this point in the history
  • Loading branch information
truthbk committed Aug 16, 2017
1 parent b68c777 commit a9c4ff9
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions oracle/ci/resources/get_instantclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,14 @@ def main():
sys.stdout.flush()
npm.logfile = sys.stdout
if 'linux' in platform.system().lower():
npm.expect(u'updated 1 package', timeout=120)
npm.expect(u'instantclient@', timeout=120)

npm.expect(pexpect.EOF, timeout=120)
sys.stdout.flush()
try:
npm.expect(pexpect.EOF, timeout=120)
except Exception:
pass
finally:
sys.stdout.flush()

print 'InstantClient installation complete.'

Expand Down

0 comments on commit a9c4ff9

Please sign in to comment.