From 4e03d0d8cb60ade9f107cc4fc41313b1b501eec3 Mon Sep 17 00:00:00 2001 From: thegeez Date: Wed, 31 Jul 2013 21:36:34 +0200 Subject: [PATCH] Dusting off test --- test/project.clj | 4 ++-- test/src/test/actors.clj | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/test/project.clj b/test/project.clj index f95ef8c..4a7e065 100644 --- a/test/project.clj +++ b/test/project.clj @@ -1,3 +1,3 @@ (defproject test "0.0.1-SNAPSHOT" - :dependencies [[org.clojure/clojure "1.4.0"] - [clj-webdriver "0.6.0-alpha8"]]) + :dependencies [[org.clojure/clojure "1.5.1"] + [clj-webdriver "0.6.0"]]) diff --git a/test/src/test/actors.clj b/test/src/test/actors.clj index 03bda78..153a70f 100644 --- a/test/src/test/actors.clj +++ b/test/src/test/actors.clj @@ -34,8 +34,7 @@ (send ag (fn [{:keys [driver url] :as a}] (w/to driver url) a))) - ;; can't use await here, the send are fired from separate threads - ;;(apply await actors) + (doall (map await agents)) (println "All launched") (doseq [ag agents] (send ag (fn send-msg [a]