Connection not closing since release 0.100 #1052
Since version 0.100, the connection does not stop after running go tests in telepresence with
It can be shut off with CTRL-C but is no longer as useful for our CI solution which used telepresence to just run some code against our cluster with go tests.
Blargh. Never mind. Again, thank you for the issue.
diff --git a/telepresence/runner/runner.py b/telepresence/runner/runner.py index ac1100a..955a0ee 100644 --- a/telepresence/runner/runner.py +++ b/telepresence/runner/runner.py @@ -680,7 +680,7 @@ class Runner(object): self.write("Everything launched. Waiting to exit...") main_code = None span = self.span() - Thread(target=wait_for_process, args=(main_process, )) + Thread(target=wait_for_process, args=(main_process, )).start() while not self.quitting: sleep(0.1) span.end()