Skip to content

Commit

Permalink
SERVER-5071: in smoke.py close failfile before deleting it
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Crosta committed Feb 24, 2012
1 parent 0d67a47 commit ca3315f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions buildscripts/smoke.py
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,12 @@ def run_old_fails():
try:
f = open(failfile, 'r')
testsAndOptions = pickle.load(f)
f.close()
except Exception:
try:
f.close()
except:
pass
clear_failfile()
return # This counts as passing so we will run all tests

Expand Down

0 comments on commit ca3315f

Please sign in to comment.