try one more time with new notebook not being ready quickly enough in test

and fix PR #393
This commit is contained in:
dickmao 2018-11-08 01:26:04 -05:00 committed by John Miller
parent aaed15f1e5
commit b4c51b46b9
2 changed files with 2 additions and 2 deletions

View file

@ -71,7 +71,7 @@
(lexical-let (notebook)
(with-current-buffer (ein:notebooklist-get-buffer url-or-port)
(lexical-let ((ks (ein:get-kernelspec url-or-port kernel)))
(loop repeat 2
(loop repeat 3
until notebook
do (setq notebook (ein:testing-new-notebook url-or-port ks)))))
(let ((buf-name (format ein:notebook-buffer-name-template

View file

@ -381,7 +381,7 @@ auto-execution mode flag in the connected buffer is `t'.")))
(status_dead.Kernel . "Kernel requires restart \\[ein:notebook-restart-kernel-command]")
(status_reconnecting.Kernel . "Kernel reconnecting...")
(status_reconnected.Kernel . "Kernel reconnected")
(status_disconnected.Kernel . "Kernel requires reconnect \\[ein:notebook-reconnect-kernel]")))
(status_disconnected.Kernel . "Kernel requires reconnect \\[ein:notebook-reconnect-session-command]")))
:type ein:notification-status))
"Notification widget for Notebook.")