Skip to content

Commit b1da278

Browse files
author
Yongqiang YANG
committed
fix
1 parent ca7839a commit b1da278

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cloud/test/meta_service_test.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ TEST(MetaServiceTest, AlterS3StorageVaultTest) {
515515
AlterObjStoreInfoResponse res;
516516
meta_service->alter_storage_vault(
517517
reinterpret_cast<::google::protobuf::RpcController*>(&cntl), &req, &res, nullptr);
518-
ASSERT_EQ(res.status().code(), MetaServiceCode::OK) << res.status().msg();
518+
ASSERT_NE(res.status().code(), MetaServiceCode::OK) << res.status().msg();
519519
InstanceInfoPB instance;
520520
get_test_instance(instance);
521521

@@ -526,7 +526,7 @@ TEST(MetaServiceTest, AlterS3StorageVaultTest) {
526526
TxnErrorCode::TXN_OK);
527527
StorageVaultPB get_obj;
528528
get_obj.ParseFromString(val);
529-
ASSERT_EQ(get_obj.obj_info().ak(), "new_ak") << get_obj.obj_info().ak();
529+
ASSERT_EQ(get_obj.obj_info().ak(), "ak") << get_obj.obj_info().ak();
530530
}
531531

532532
{

0 commit comments

Comments
 (0)