From 32ea796daba6bf23defffcba6c347ee9cc5e442a Mon Sep 17 00:00:00 2001 From: Steven Li Date: Sun, 11 Oct 2020 02:36:49 +0000 Subject: [PATCH] Allow 0xB error for crash_gen tool, per TD-1648 --- tests/pytest/crash_gen/crash_gen.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/pytest/crash_gen/crash_gen.py b/tests/pytest/crash_gen/crash_gen.py index d15f264fb6..48196ab383 100755 --- a/tests/pytest/crash_gen/crash_gen.py +++ b/tests/pytest/crash_gen/crash_gen.py @@ -1648,6 +1648,7 @@ class Task(): def _isErrAcceptable(self, errno, msg): if errno in [ 0x05, # TSDB_CODE_RPC_NOT_READY + 0x0B, # Unable to establish connection, more details in TD-1648 # 0x200, # invalid SQL, TODO: re-examine with TD-934 0x217, # "db not selected", client side defined error code 0x218, # "Table does not exist" client side defined error code -- GitLab