Skip to content

Commit

Permalink
CI: fix s3 random test (#4887)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoucheng361 authored May 22, 2024
1 parent ca15ab5 commit 88fd9a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/hypo/s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def remove_object(self, obj:str, alias=ROOT_ALIAS):
result2 = self.client2.do_remove_object(bucket_name, object_name, alias)
assert self.equal(result1, result2), f'\033[31mremove_object:\nresult1 is {result1}\nresult2 is {result2}\033[0m'
if isinstance(result1, Exception):
return object_name
return obj
else:
return multiple()

Expand Down

0 comments on commit 88fd9a7

Please sign in to comment.