Skip to content

Commit

Permalink
Merge pull request #141 from daveray/upgrade-clojuresque
Browse files Browse the repository at this point in the history
Update clojuresque and remove test shutdown hack.
  • Loading branch information
benjchristensen committed May 17, 2013
2 parents 5c406e0 + e346830 commit 16b004b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion hystrix-contrib/hystrix-clj/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
mavenRepo name: 'clojars', url: 'http://clojars.org/repo'
}
dependencies {
classpath 'clojuresque:clojuresque:1.5.4'
classpath 'clojuresque:clojuresque:1.5.8'
}
}
apply plugin: 'clojure'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,6 @@

(use-fixtures :each request-context-fixture)

; In the end, reset Hystrix so that Clojuresque will exit after running tests.
(defn hystrix-reset-fixture
[f]
(try
(f)
(finally
(com.netflix.hystrix.Hystrix/reset))))

(use-fixtures :once hystrix-reset-fixture)

(deftest test-command-key
(testing "returns nil when input is nil"
(is (nil? (command-key nil))))
Expand Down

0 comments on commit 16b004b

Please sign in to comment.