summaryrefslogtreecommitdiffstats
path: root/nixos/tests/ceph-single-node.nix
diff options
context:
space:
mode:
authorSarah Brofeldt <sarah@qtr.dk>2020-04-02 21:10:15 +0200
committerSarah Brofeldt <sarah@qtr.dk>2020-04-02 21:11:45 +0200
commit6ccd347e461015dc26222c832b87c3050558ba86 (patch)
tree0c14f67d75eca886d70d8793f42ca003067a8b0c /nixos/tests/ceph-single-node.nix
parentec21f70c4b8f5e46fc9b9acb8e964a3d557bc9cf (diff)
nixos/tests/ceph: Fix pg number to power of 2
Diffstat (limited to 'nixos/tests/ceph-single-node.nix')
-rw-r--r--nixos/tests/ceph-single-node.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/tests/ceph-single-node.nix b/nixos/tests/ceph-single-node.nix
index 1a027e178367..01c4b4138451 100644
--- a/nixos/tests/ceph-single-node.nix
+++ b/nixos/tests/ceph-single-node.nix
@@ -143,12 +143,12 @@ let
monA.wait_until_succeeds("ceph -s | grep 'HEALTH_OK'")
monA.succeed(
- "ceph osd pool create single-node-test 100 100",
+ "ceph osd pool create single-node-test 128 128",
"ceph osd pool ls | grep 'single-node-test'",
"ceph osd pool rename single-node-test single-node-other-test",
"ceph osd pool ls | grep 'single-node-other-test'",
)
- monA.wait_until_succeeds("ceph -s | grep '1 pools, 100 pgs'")
+ monA.wait_until_succeeds("ceph -s | grep '1 pools, 128 pgs'")
monA.succeed(
"ceph osd getcrushmap -o crush",
"crushtool -d crush -o decrushed",
@@ -158,7 +158,7 @@ let
"ceph osd pool set single-node-other-test size 2",
)
monA.wait_until_succeeds("ceph -s | grep 'HEALTH_OK'")
- monA.wait_until_succeeds("ceph -s | grep '100 active+clean'")
+ monA.wait_until_succeeds("ceph -s | grep '128 active+clean'")
monA.fail(
"ceph osd pool ls | grep 'multi-node-test'",
"ceph osd pool delete single-node-other-test single-node-other-test --yes-i-really-really-mean-it",