Fix test
This commit is contained in:
parent
1a764f3120
commit
943dc69c66
1 changed files with 4 additions and 1 deletions
|
|
@ -9,7 +9,10 @@
|
||||||
(is (instance? java.net.http.WebSocket$Builder (ws-client/websocket-builder))))
|
(is (instance? java.net.http.WebSocket$Builder (ws-client/websocket-builder))))
|
||||||
|
|
||||||
(deftest async-smoke-test
|
(deftest async-smoke-test
|
||||||
(is (= 200 (:status @(client/send-async {:uri "https://www.clojure.org" :method :get})))))
|
(when-not (and
|
||||||
|
(= "aarch64" (System/getenv "BABASHKA_ARCH"))
|
||||||
|
(= "true" (System/getenv "BABASHKA_STATIC")))
|
||||||
|
(is (= 200 (:status @(client/send-async {:uri "https://www.clojure.org" :method :get}))))))
|
||||||
|
|
||||||
(defn ws-handler [{:keys [init] :as opts} req]
|
(defn ws-handler [{:keys [init] :as opts} req]
|
||||||
(when init (init req))
|
(when init (init req))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue