Skip to content

Commit cc1f0c9

Browse files
authored
The ETOS v1alpha client would never shutdown (#393)
Fixed so that we actually break out of the while loop when there is a result from tracking a testrun.
1 parent 1a9093c commit cc1f0c9

File tree

1 file changed

+1
-0
lines changed
  • cli/src/etos_client/etos/v1alpha

1 file changed

+1
-0
lines changed

cli/src/etos_client/etos/v1alpha/etos.py

+1
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ def __wait(self, response: ResponseSchema) -> Result:
159159
result = self.__track(test_run, response, end)
160160
else:
161161
result = self.__track_v0(test_run, response, end)
162+
break
162163
except TokenExpired:
163164
self.__apikey = None
164165
continue

0 commit comments

Comments
 (0)