Skip to content
Permalink
Browse files

Typo

  • Loading branch information
Ido Barkan
Ido Barkan committed Jan 17, 2019
1 parent 3e55344 commit e78815e272e05886a19a5bc96cfca13af2857c11
Showing with 3 additions and 4 deletions.
  1. +1 −1 project.clj
  2. +1 −1 src/aerospike_clj/client.clj
  3. +1 −2 test/aerospike_clj/client_test.clj
@@ -1,4 +1,4 @@
(defproject aerospike-clj "0.2.1"
(defproject aerospike-clj "0.2.2"
:description "An Aerospike Clojure client."
:url "https://github.com/AppsFlyer/aerospike-clj"
:license {:name "Eclipse Public License"
@@ -293,7 +293,7 @@

;; health

(defn healty?
(defn healthy?
"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
(including 2 retries) so an small over estimation is advised to avoid false negatives."
@@ -6,7 +6,6 @@
(:require [clojure.test :refer [deftest testing is use-fixtures]]
[aerospike-clj.client :as client]
[aerospike-clj.policy :as policy]
[taoensso.timbre :as timbre]
[cheshire.core :as json])
(:import [com.aerospike.client AerospikeException Value]
[com.aerospike.client.cdt ListOperation ListPolicy ListOrder ListWriteFlags ListReturnType
@@ -43,7 +42,7 @@
(client/init-simple-aerospike-client ["localhost"] "test" {"maxCommandsInProcess" 1}))))

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

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

0 comments on commit e78815e

Please sign in to comment.
You can’t perform that action at this time.