git.iko.soy/typeable/bloodhound
on master help sign in
Set shards/replicas to 1/0 for testing
commit60f1c70f4fab39b0c7e0515ee1e828374ec1c3b5 authorJohn Galt <centromere@users.noreply.github.com> dateWed 29 Jul 2015, 12:20 (11 years ago) parentde835bc
1 file changed+1−1
tests/tests.hs+1−1
tests/tests.hs+1−1
@@ -47,7 +47,7 @@ validateStatus resp expected =
4747 `shouldBe` (expected :: Int)
4848
4949createExampleIndex :: BH IO Reply
50−createExampleIndex = createIndex defaultIndexSettings testIndex
50+createExampleIndex = createIndex (IndexSettings (ShardCount 1) (ReplicaCount 0)) testIndex
5151deleteExampleIndex :: BH IO Reply
5252deleteExampleIndex = deleteIndex testIndex
5353