Skip to content

Commit c02d504

Browse files
authored
Revert commented code and run ui tests (#6412)
1 parent edf18d0 commit c02d504

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

uitests/uitests/__main__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,11 +154,11 @@ def test(destination, channel, vsix, behave_options, **kwargs):
154154
# Selenium and other packages write to stderr & so does default logging output.
155155
# Confused how this can be configured with behave and other libs.
156156
# Hence just capture exit code from behave and throw error to signal failure to CI.
157-
# exit_code = __main__.main(args)
158-
exit_code = 123
157+
exit_code = __main__.main(args)
159158
if exit_code > 0:
160159
sys.stderr.write("Behave tests failed")
161160
sys.stderr.flush()
161+
raise SystemExit(exit_code , "Behave Tests Failed")
162162
return exit_code
163163

164164

0 commit comments

Comments
 (0)