Fix pREPL tests
This commit is contained in:
parent
40e0087b59
commit
99f1e948d3
1 changed files with 2 additions and 2 deletions
|
|
@ -106,7 +106,7 @@
|
||||||
:env (atom {})
|
:env (atom {})
|
||||||
:namespaces {'clojure.core.server clojure-core-server-namespace}
|
:namespaces {'clojure.core.server clojure-core-server-namespace}
|
||||||
:features #{:bb}})]
|
:features #{:bb}})]
|
||||||
(vreset! common/ctx (fn [] ctx))
|
(ctx-store/reset-ctx! ctx)
|
||||||
(start-repl! "{:address \"localhost\" :accept clojure.core.server/io-prepl :port 1666}"
|
(start-repl! "{:address \"localhost\" :accept clojure.core.server/io-prepl :port 1666}"
|
||||||
ctx))
|
ctx))
|
||||||
(do (vreset! server-process
|
(do (vreset! server-process
|
||||||
|
|
@ -121,7 +121,7 @@
|
||||||
(finally
|
(finally
|
||||||
(if tu/jvm?
|
(if tu/jvm?
|
||||||
(do (stop-repl!)
|
(do (stop-repl!)
|
||||||
(vreset! common/ctx nil)
|
(ctx-store/reset-ctx! nil)
|
||||||
(Thread/sleep 100))
|
(Thread/sleep 100))
|
||||||
(p/destroy-tree @server-process))))))
|
(p/destroy-tree @server-process))))))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue