jupyter server on gha has issues with deleting files

This commit is contained in:
dickmao 2020-02-04 22:31:26 -05:00
parent a960c65802
commit a030d2ca96

View file

@ -70,14 +70,15 @@
for path = (ein:$notebook-notebook-path nb)
do (ein:log 'debug "Notebook %s still open" path)
finally do (assert nil)))
(cl-loop repeat 30
for stragglers = (file-name-all-completions "Untitled"
ein:testing-jupyter-server-root)
until (null stragglers)
do (message "ein:testing-after-scenario: fs stale handles: %s"
(mapconcat #'identity stragglers ", "))
do (sleep-for 0 1000)
finally do (should-not stragglers)))
(unless (getenv "GITHUB_ACTIONS")
(cl-loop repeat 5
for stragglers = (file-name-all-completions "Untitled"
ein:testing-jupyter-server-root)
until (null stragglers)
do (message "ein:testing-after-scenario: fs stale handles: %s"
(mapconcat #'identity stragglers ", "))
do (sleep-for 0 1000)
finally do (should-not stragglers))))
(Setup
(ein:dev-start-debug)