Dusting off test
This commit is contained in:
parent
08f003d2a0
commit
4e03d0d8cb
|
@ -1,3 +1,3 @@
|
||||||
(defproject test "0.0.1-SNAPSHOT"
|
(defproject test "0.0.1-SNAPSHOT"
|
||||||
:dependencies [[org.clojure/clojure "1.4.0"]
|
:dependencies [[org.clojure/clojure "1.5.1"]
|
||||||
[clj-webdriver "0.6.0-alpha8"]])
|
[clj-webdriver "0.6.0"]])
|
||||||
|
|
|
@ -34,8 +34,7 @@
|
||||||
(send ag (fn [{:keys [driver url] :as a}]
|
(send ag (fn [{:keys [driver url] :as a}]
|
||||||
(w/to driver url)
|
(w/to driver url)
|
||||||
a)))
|
a)))
|
||||||
;; can't use await here, the send are fired from separate threads
|
(doall (map await agents))
|
||||||
;;(apply await actors)
|
|
||||||
(println "All launched")
|
(println "All launched")
|
||||||
(doseq [ag agents]
|
(doseq [ag agents]
|
||||||
(send ag (fn send-msg [a]
|
(send ag (fn send-msg [a]
|
||||||
|
|
Reference in a new issue