Skip to content

Commit 868d28f

Browse files
Stop tests when have some error
1 parent 2d0ada2 commit 868d28f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests_and_examples/run_query_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ def compare_result(self, query_type, test, result):
268268
print ' Expected: "{}": {}'.format(key, value)
269269
print ' Result: "{}": {}'.format(key, result[key])
270270
print ' Status: Failed'
271-
return
271+
raise Exception("Stop another test.")
272272

273273
self.num_successes += 1
274274

0 commit comments

Comments
 (0)