added integration test selectors
This commit is contained in:
parent
b80f98d40f
commit
6d2068ecf5
2 changed files with 10 additions and 4 deletions
|
@ -3,6 +3,12 @@
|
|||
:url "http://github.com/y42/clj-druid"
|
||||
:license {:name "Eclipse Public License"
|
||||
:url "http://www.eclipse.org/legal/epl-v10.html"}
|
||||
|
||||
|
||||
:test-selectors {:default (fn [m] (not (or (:integration m) (:regression m))))
|
||||
:integration :integration
|
||||
:regression :regression}
|
||||
|
||||
:dependencies [[org.clojure/clojure "1.7.0"]
|
||||
[swiss-arrows "1.0.0"]
|
||||
[clj-http "2.0.0"]
|
||||
|
|
|
@ -3,21 +3,21 @@
|
|||
[clj-druid.validations-test :as f]
|
||||
[clj-druid.client :refer :all]))
|
||||
|
||||
(deftest test-connect-zookeeper
|
||||
(deftest ^:integration test-connect-zookeeper
|
||||
(connect {:zk {:host "127.0.0.1:2181"
|
||||
:discovery-path "/druid/discovery"
|
||||
:node-type "broker"}}))
|
||||
|
||||
(deftest test-connect-user
|
||||
(deftest ^:integration test-connect-user
|
||||
(connect {:hosts ["http://localhost:8082/druid/v2/"]}))
|
||||
|
||||
(deftest test-zk-query
|
||||
(deftest ^:integration test-zk-query
|
||||
(connect {:zk {:host "127.0.0.1:2181"
|
||||
:discovery-path "/druid/discovery"
|
||||
:node-type "broker"}})
|
||||
|
||||
(query randomized :groupBy f/valid-groupby-query))
|
||||
|
||||
(deftest test-user-query
|
||||
(deftest ^:integration test-user-query
|
||||
(connect {:hosts ["http://127.0.0.1:8083/druid/v2/"]})
|
||||
(query randomized :groupBy f/valid-groupby-query :timeout 5000))
|
||||
|
|
Loading…
Reference in a new issue