Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
barkanido committed Jan 17, 2019
1 parent 3e55344 commit e78815e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion project.clj
@@ -1,4 +1,4 @@
(defproject aerospike-clj "0.2.1" (defproject aerospike-clj "0.2.2"
:description "An Aerospike Clojure client." :description "An Aerospike Clojure client."
:url "https://github.com/AppsFlyer/aerospike-clj" :url "https://github.com/AppsFlyer/aerospike-clj"
:license {:name "Eclipse Public License" :license {:name "Eclipse Public License"
Expand Down
2 changes: 1 addition & 1 deletion src/aerospike_clj/client.clj
Expand Up @@ -293,7 +293,7 @@


;; health ;; health


(defn healty? (defn healthy?
"Returns true iff the cluster is reachable and can take reads and writes. "Returns true iff the cluster is reachable and can take reads and writes.
Uses __health-check set to avoid data collisions. `operation-timeout-ms` is for total timeout of reads Uses __health-check set to avoid data collisions. `operation-timeout-ms` is for total timeout of reads
(including 2 retries) so an small over estimation is advised to avoid false negatives." (including 2 retries) so an small over estimation is advised to avoid false negatives."
Expand Down
3 changes: 1 addition & 2 deletions test/aerospike_clj/client_test.clj
Expand Up @@ -6,7 +6,6 @@
(:require [clojure.test :refer [deftest testing is use-fixtures]] (:require [clojure.test :refer [deftest testing is use-fixtures]]
[aerospike-clj.client :as client] [aerospike-clj.client :as client]
[aerospike-clj.policy :as policy] [aerospike-clj.policy :as policy]
[taoensso.timbre :as timbre]
[cheshire.core :as json]) [cheshire.core :as json])
(:import [com.aerospike.client AerospikeException Value] (:import [com.aerospike.client AerospikeException Value]
[com.aerospike.client.cdt ListOperation ListPolicy ListOrder ListWriteFlags ListReturnType [com.aerospike.client.cdt ListOperation ListPolicy ListOrder ListWriteFlags ListReturnType
Expand Down Expand Up @@ -43,7 +42,7 @@
(client/init-simple-aerospike-client ["localhost"] "test" {"maxCommandsInProcess" 1})))) (client/init-simple-aerospike-client ["localhost"] "test" {"maxCommandsInProcess" 1}))))


(deftest health (deftest health
(is (true? (client/healty? *c* 10)))) (is (true? (client/healthy? *c* 10))))


(deftest get-record (deftest get-record
(let [data (rand-int 1000)] (let [data (rand-int 1000)]
Expand Down

0 comments on commit e78815e

Please sign in to comment.