From e6b71657a6e2da5e1e6997f1132d5dc5dffec7d7 Mon Sep 17 00:00:00 2001 From: Haonan Date: Fri, 15 Nov 2024 07:49:27 +0800 Subject: [PATCH] Update SessionPoolTest.cs --- samples/Apache.IoTDB.Samples/SessionPoolTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/Apache.IoTDB.Samples/SessionPoolTest.cs b/samples/Apache.IoTDB.Samples/SessionPoolTest.cs index 511a9af..e027e56 100644 --- a/samples/Apache.IoTDB.Samples/SessionPoolTest.cs +++ b/samples/Apache.IoTDB.Samples/SessionPoolTest.cs @@ -473,7 +473,7 @@ await session_pool.ExecuteNonQueryStatementAsync( "select status, temperature, hardware from " + string.Format("{0}.{1}", test_group_name, test_device) + " where time<10"); res.ShowTableNames(); var columnNames = new List { "root.TEST_CSHARP_CLIENT_GROUP_97209.TEST_CSHARP_CLIENT_DEVICE.status", "root.TEST_CSHARP_CLIENT_GROUP_97209.TEST_CSHARP_CLIENT_DEVICE.temperature", "root.TEST_CSHARP_CLIENT_GROUP_97209.TEST_CSHARP_CLIENT_DEVICE.hardware" }; - System.Diagnostics.Debug.Assert(res.ColumnNames.SequenceEqual(list2), "The columnnNames are not equal"); + System.Diagnostics.Debug.Assert(res.ColumnNames.SequenceEqual(columnNames), "The columnnNames are not equal"); while (res.HasNext()) Console.WriteLine(res.Next()); await res.Close();