diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e713f6a9..f83feebc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,9 +1,6 @@ name: Test -on: - push: - branches: ['master'] - pull_request: +on: [push, pull_request] jobs: setup: diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index 2d122bf0..ad7576b6 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -7,6 +7,8 @@ A release with an intentional breaking changes is marked with: == Unreleased +* https://github.com/clj-commons/etaoin/issues/524[#524]: fix failure in bb related to `Thread/sleep` interop in JDK19 + == v1.0.39 * https://github.com/clj-commons/etaoin/issues/503[#503]: Address Clojure interop issue introduced by new Thread/sleep signature in JDK 19 diff --git a/src/etaoin/api.clj b/src/etaoin/api.clj index 8d1c1d97..0c6c39f2 100644 --- a/src/etaoin/api.clj +++ b/src/etaoin/api.clj @@ -2453,7 +2453,7 @@ (#_{:clj-kondo/ignore [:unused-binding]} [driver seconds] (wait seconds)) ([seconds] - (Thread/sleep ^long (* seconds 1000)))) + (Thread/sleep (long (* seconds 1000))))) (defmacro with-wait "Execute `body` waiting `seconds` before each form.