Skip to content

Commit 62ad871

Browse files
committed
algorand: fix trivial exit in tests when local indexer is broken
The test previously exited successfully when the local indexer was broken, allowing CI to pass while skipping the remaining test cases. Exit with an error so incomplete test runs are reported as failures.
1 parent e3e9e69 commit 62ad871

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

algorand/test/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def getVAA(self, client, sender, sid, app):
113113

114114
if (self.INDEXER_ROUND > 512 and not self.args.testnet): # until they fix it
115115
print("indexer is broken in local net... stop/clean/restart the sandbox")
116-
sys.exit(0)
116+
sys.exit(1)
117117

118118
txns = []
119119

0 commit comments

Comments
 (0)