fix tests

This commit is contained in:
jem 2021-09-14 18:41:08 +02:00
parent 1873813e7f
commit 60baab6a8c

View file

@ -6,10 +6,10 @@
(deftest should-generate-config
(is (= {:postgresql.conf
"max_connections = 100\nwork_mem = 4MB\nshared_buffers = 128MB\n"}
"max_connections = 100\nwork_mem = 4MB\nshared_buffers = 512MB\n"}
(:data (cut/generate-config))))
(is (= {:postgresql.conf
"max_connections = 700\nwork_mem = 3MB\nshared_buffers = 512MB\n"}
"max_connections = 700\nwork_mem = 3MB\nshared_buffers = 2048MB\n"}
(:data (cut/generate-config :postgres-size :8gb))))
)