diff --git a/tests/test/c/create_table.c b/tests/test/c/create_table.c index d835760423..6df31c7b8b 100644 --- a/tests/test/c/create_table.c +++ b/tests/test/c/create_table.c @@ -204,7 +204,7 @@ void *threadFunc(void *param) { int64_t startTs = taosGetTimestampUs(); TAOS_RES *pRes = taos_query(con, qstr); code = taos_errno(pRes); - if ((code != 0) && (code != 0x0002)) { + if ((code != 0) && (code != TSDB_CODE_RPC_AUTH_REQUIRED)) { pError("failed to create table t%" PRId64 ", code: %d, reason:%s", t, code, tstrerror(code)); } taos_free_result(pRes);