]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/test/erasure-code/TestErasureCodeShec_arguments.cc
update sources to v12.1.1
[ceph.git] / ceph / src / test / erasure-code / TestErasureCodeShec_arguments.cc
index 2a9da936f4a5dd6cb72bc93c040eb0654f624484..9caa9a8dd29ea3be63dab46a7c989b268c831c26 100644 (file)
@@ -189,7 +189,7 @@ TEST(ParameterTest, combination_all)
                                                         std::string>();
   (*profile)["plugin"] = "shec";
   (*profile)["technique"] = "";
-  (*profile)["ruleset-failure-domain"] = "osd";
+  (*profile)["crush-failure-domain"] = "osd";
   (*profile)["k"] = k;
   (*profile)["m"] = m;
   (*profile)["c"] = c;
@@ -202,8 +202,8 @@ TEST(ParameterTest, combination_all)
   EXPECT_EQ(i_c, shec->c);
   EXPECT_EQ(8, shec->w);
   EXPECT_EQ(ErasureCodeShec::MULTIPLE, shec->technique);
-  EXPECT_STREQ("default", shec->ruleset_root.c_str());
-  EXPECT_STREQ("osd", shec->ruleset_failure_domain.c_str());
+  EXPECT_STREQ("default", shec->rule_root.c_str());
+  EXPECT_STREQ("osd", shec->rule_failure_domain.c_str());
   EXPECT_TRUE(shec->matrix != NULL);
   EXPECT_EQ(0, result);