Show More
@@ -274,7 +274,13 class JSController(TestController): | |||
|
274 | 274 | if self.server.poll() is not None: |
|
275 | 275 | return self._failed_to_start() |
|
276 | 276 | if os.path.exists(self.server_info_file): |
|
277 | try: | |
|
277 | 278 | self._load_server_info() |
|
279 | except ValueError: | |
|
280 | # If the server is halfway through writing the file, we may | |
|
281 | # get invalid JSON; it should be ready next iteration. | |
|
282 | pass | |
|
283 | else: | |
|
278 | 284 | return |
|
279 | 285 | time.sleep(0.1) |
|
280 | 286 | print("Notebook server-info file never arrived: %s" % self.server_info_file, |
General Comments 0
You need to be logged in to leave comments.
Login now