Skip to content

Commit

Permalink
Do not fail if diffbase tmpdir cannot be deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
fweikert committed May 8, 2023
1 parent 5e70d9d commit b39d4bf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion buildkite/bazelci.py
Original file line number Diff line number Diff line change
Expand Up @@ -2333,7 +2333,11 @@ def filter_unchanged_targets(
finally:
return expanded_test_targets
finally:
shutil.rmtree(tmpdir)
try:
shutil.rmtree(tmpdir)
except:
pass

os.chdir(workspace_dir)

config_target_set = set(expanded_test_targets)
Expand Down

0 comments on commit b39d4bf

Please sign in to comment.