0

[Fuchsia] ignore errors when cleaning up the temporary folder

It does not matter and shouldn't be treated as test failure.
E.g.
https://ci.chromium.org/ui/p/chromium/builders/ci/fuchsia-arm64-cast-receiver-rel/14406/overview
and https://chromium-swarm.appspot.com/task?id=69979f8c24278c10

Cq-Include-Trybots: luci.chromium.try:fuchsia-x64-cast-receiver-rel,fuchsia-x64-cast-receiver-dbg,fuchsia-arm64-cast-receiver-rel;luci.chrome.try:fuchsia-smoke-sherlock
Fixed: 339588730, 339916017
Change-Id: I9a2dafd4664ec336e354a52e84381b0232392443
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5542933
Commit-Queue: Zijie He <zijiehe@google.com>
Reviewed-by: David Song <wintermelons@google.com>
Cr-Commit-Position: refs/heads/main@{#1302141}
This commit is contained in:
Hzj_jie
2024-05-16 19:14:35 +00:00
committed by Chromium LUCI CQ
parent a312cdb79d
commit 260a875c79

@ -28,7 +28,9 @@ class IsolateDaemon(AbstractContextManager):
return self
def __exit__(self, exc_type, exc_value, traceback):
return self._temp_dir.__exit__(exc_type, exc_value, traceback)
self._temp_dir.__exit__(exc_type, exc_value, traceback)
# Ignore the errors when cleaning up the temporary folder.
return True
def name(self):
"""Returns the location of the isolate dir."""