From fb9146ad76b17b23df7bca446565d6e94a03df2f Mon Sep 17 00:00:00 2001 From: Shuduo Sang Date: Thu, 30 Jul 2020 15:37:44 +0800 Subject: [PATCH] change alter dnode ep to id. [TD-1031] --- tests/pytest/client/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/pytest/client/client.py b/tests/pytest/client/client.py index 6ac12c6795..36c06ac09d 100644 --- a/tests/pytest/client/client.py +++ b/tests/pytest/client/client.py @@ -42,8 +42,8 @@ class TDTestCase: ret = tdSql.query('show dnodes') - ret = tdSql.execute('alter dnode "%s" debugFlag 135' % tdSql.getData(0,1)) - tdLog.info('alter dnode "%s" debugFlag 135 -> ret: %d' % (tdSql.getData(0, 1), ret)) + ret = tdSql.execute('alter dnode "%s" debugFlag 135' % tdSql.getData(0,0)) + tdLog.info('alter dnode "%s" debugFlag 135 -> ret: %d' % (tdSql.getData(0, 0), ret)) def stop(self): tdSql.close() -- GitLab