diff --git a/source/dnode/mnode/impl/test/mnode/mnode.cpp b/source/dnode/mnode/impl/test/mnode/mnode.cpp index f56b864cad7e47f3896f47d11916ff8e4e3332b3..c69c86eb1c0dd6877c92cb9b7e3fd11b2984cbbe 100644 --- a/source/dnode/mnode/impl/test/mnode/mnode.cpp +++ b/source/dnode/mnode/impl/test/mnode/mnode.cpp @@ -45,8 +45,8 @@ TEST_F(MndTestMnode, 01_ShowDnode) { CHECK_SCHEMA(0, TSDB_DATA_TYPE_SMALLINT, 2, "id"); CHECK_SCHEMA(1, TSDB_DATA_TYPE_BINARY, TSDB_EP_LEN + VARSTR_HEADER_SIZE, "endpoint"); CHECK_SCHEMA(2, TSDB_DATA_TYPE_BINARY, 12 + VARSTR_HEADER_SIZE, "role"); - CHECK_SCHEMA(3, TSDB_DATA_TYPE_TIMESTAMP, 8, "role_time"); - CHECK_SCHEMA(4, TSDB_DATA_TYPE_TIMESTAMP, 8, "create_time"); + CHECK_SCHEMA(3, TSDB_DATA_TYPE_TIMESTAMP, 8, "create_time"); + CHECK_SCHEMA(4, TSDB_DATA_TYPE_TIMESTAMP, 8, "role_time"); test.SendShowRetrieveReq(); EXPECT_EQ(test.GetShowRows(), 1); @@ -54,8 +54,8 @@ TEST_F(MndTestMnode, 01_ShowDnode) { CheckInt16(1); CheckBinary("localhost:9028", TSDB_EP_LEN); CheckBinary("master", 12); - CheckInt64(0); CheckTimestamp(); + IgnoreTimestamp(); } TEST_F(MndTestMnode, 02_Create_Mnode_Invalid_Id) { @@ -124,10 +124,10 @@ TEST_F(MndTestMnode, 04_Create_Mnode) { CheckBinary("localhost:9029", TSDB_EP_LEN); CheckBinary("master", 12); CheckBinary("slave", 12); - CheckInt64(0); - CheckInt64(0); CheckTimestamp(); CheckTimestamp(); + IgnoreTimestamp(); + IgnoreTimestamp(); } { @@ -148,8 +148,8 @@ TEST_F(MndTestMnode, 04_Create_Mnode) { CheckInt16(1); CheckBinary("localhost:9028", TSDB_EP_LEN); CheckBinary("master", 12); - CheckInt64(0); CheckTimestamp(); + IgnoreTimestamp(); } {