Skip to content

Commit 8b0355b

Browse files
[test] Restrict flaky tests
1 parent 9387144 commit 8b0355b

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

test/clj/cider/nrepl/middleware/debug_integration_test.clj

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,21 @@
22
(:require
33
[cider.nrepl :refer [wrap-debug]]
44
[cider.nrepl.middleware.debug :as d]
5-
[clojure.test :refer :all]
5+
[clojure.test :refer [is testing use-fixtures]]
66
[nrepl.core :as nrepl]
77
[nrepl.server :as nrepl.server]
88
[nrepl.transport :as transport]
9-
[clojure.java.io :as io])
9+
[clojure.java.io :as io]
10+
[orchard.misc])
1011
(:import
1112
java.util.UUID
1213
[java.util.concurrent TimeUnit LinkedBlockingQueue]))
1314

15+
;; TODO: this test namespace is flaky on JDK8. Disable it there for now.
16+
(defmacro deftest [name & body]
17+
`(when (> orchard.misc/java-api-version 8)
18+
(clojure.test/deftest ~name ~@body)))
19+
1420
;;; Helpers for starting an nRepl session
1521
;;; We do not use nrepl/client-session here because it
1622
;;; is built with the expectation that each message sent to the server

0 commit comments

Comments
 (0)