From: yuliyang_yewu Date: Mon, 7 Feb 2022 06:23:19 +0000 (+0800) Subject: rgw: fix dbstore test init env wrong X-Git-Tag: v18.0.0~1427^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F44916%2Fhead;p=ceph.git rgw: fix dbstore test init env wrong fix https://tracker.ceph.com/issues/54174 Signed-off-by: yuliyang_yewu --- diff --git a/src/rgw/store/dbstore/tests/dbstore_tests.cc b/src/rgw/store/dbstore/tests/dbstore_tests.cc index 4591abdc5d77..40da5647528d 100644 --- a/src/rgw/store/dbstore/tests/dbstore_tests.cc +++ b/src/rgw/store/dbstore/tests/dbstore_tests.cc @@ -22,8 +22,8 @@ namespace gtest { db_type("SQLite"), ret(-1) {} Environment(string tenantname, string db_typename): - tenant("tenantname"), db(nullptr), - db_type("db_typename"), ret(-1) {} + tenant(tenantname), db(nullptr), + db_type(db_typename), ret(-1) {} virtual ~Environment() {}