mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-05 23:41:38 -05:00
Don't rely on "status: starting" message in kernel restart test
This commit is contained in:
parent
fb141f1020
commit
e1f5b53fbb
1 changed files with 3 additions and 2 deletions
|
@ -1079,9 +1079,10 @@ last element being the newest element added to the history."
|
|||
(setq restart-p t)))))
|
||||
(should-not (jupyter-repl-cell-finalized-p))
|
||||
(jupyter-repl-restart-kernel)
|
||||
(jupyter-with-timeout (nil (* 2 jupyter-long-timeout))
|
||||
;; Attempt to catch the status: starting message
|
||||
(jupyter-with-timeout (nil jupyter-long-timeout)
|
||||
restart-p)
|
||||
(should restart-p)
|
||||
(should (jupyter-kernel-info client))
|
||||
(should (equal (jupyter-repl-cell-code-beginning-position) (point)))
|
||||
(should-not (jupyter-repl-cell-finalized-p))
|
||||
(goto-char pos)
|
||||
|
|
Loading…
Add table
Reference in a new issue