Skip to content

Commit

Permalink
fix benchmark exit status (#1850)
Browse files Browse the repository at this point in the history
Fix exit status

Authors:
  - Joseph Nke (https://github.com/jnke2016)

Approvers:
  - Brad Rees (https://github.com/BradReesWork)
  - Rick Ratzel (https://github.com/rlratzel)

URL: #1850
  • Loading branch information
jnke2016 authored Sep 27, 2021
1 parent c41ffd4 commit 177e9ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks/python_e2e/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def run(algos,
funcs.teardown(*setup_objs)
log("done.")

return success is True
return 0 if success else 1


if __name__ == "__main__":
Expand Down

0 comments on commit 177e9ad

Please sign in to comment.