test: add case for tmq in replica3
This commit is contained in:
parent
1b54e7fa1f
commit
07ed178065
|
@ -714,6 +714,7 @@
|
||||||
,,,system-test,python3 ./test.py -f 7-tmq/tmq_taosx.py
|
,,,system-test,python3 ./test.py -f 7-tmq/tmq_taosx.py
|
||||||
,,,system-test,python3 ./test.py -f 7-tmq/stbTagFilter-multiCtb.py
|
,,,system-test,python3 ./test.py -f 7-tmq/stbTagFilter-multiCtb.py
|
||||||
,,,system-test,python3 ./test.py -f 99-TDcase/TD-19201.py
|
,,,system-test,python3 ./test.py -f 99-TDcase/TD-19201.py
|
||||||
|
,,,system-test,python3 ./test.py -f 7-tmq/tmqSubscribeStb-r3.py -N 5
|
||||||
,,,system-test,python3 ./test.py -f 2-query/between.py -Q 2
|
,,,system-test,python3 ./test.py -f 2-query/between.py -Q 2
|
||||||
,,,system-test,python3 ./test.py -f 2-query/distinct.py -Q 2
|
,,,system-test,python3 ./test.py -f 2-query/distinct.py -Q 2
|
||||||
,,,system-test,python3 ./test.py -f 2-query/varchar.py -Q 2
|
,,,system-test,python3 ./test.py -f 2-query/varchar.py -Q 2
|
||||||
|
|
|
@ -1,26 +1,27 @@
|
||||||
from distutils.log import error
|
|
||||||
import taos
|
|
||||||
import sys
|
|
||||||
import time
|
|
||||||
import socket
|
|
||||||
import os
|
import os
|
||||||
import threading
|
|
||||||
import subprocess
|
|
||||||
import platform
|
import platform
|
||||||
|
import socket
|
||||||
|
import subprocess
|
||||||
|
import sys
|
||||||
|
import threading
|
||||||
|
import time
|
||||||
|
from distutils.log import error
|
||||||
|
|
||||||
from util.log import *
|
import taos
|
||||||
from util.sql import *
|
|
||||||
from util.cases import *
|
from util.cases import *
|
||||||
from util.dnodes import *
|
|
||||||
from util.dnodes import TDDnodes
|
|
||||||
from util.dnodes import TDDnode
|
|
||||||
from util.cluster import *
|
from util.cluster import *
|
||||||
from util.common import *
|
from util.common import *
|
||||||
|
from util.dnodes import *
|
||||||
|
from util.dnodes import TDDnode, TDDnodes
|
||||||
|
from util.log import *
|
||||||
|
from util.sql import *
|
||||||
|
|
||||||
sys.path.append("./6-cluster")
|
sys.path.append("./6-cluster")
|
||||||
sys.path.append("./7-tmq")
|
sys.path.append("./7-tmq")
|
||||||
from tmqCommon import *
|
|
||||||
from clusterCommonCreate import *
|
|
||||||
from clusterCommonCheck import clusterComCheck
|
from clusterCommonCheck import clusterComCheck
|
||||||
|
from clusterCommonCreate import *
|
||||||
|
from tmqCommon import *
|
||||||
|
|
||||||
|
|
||||||
class TDTestCase:
|
class TDTestCase:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
@ -265,6 +266,7 @@ class TDTestCase:
|
||||||
tdLog.info("start consume processor")
|
tdLog.info("start consume processor")
|
||||||
tmqCom.startTmqSimProcess(pollDelay=paraDict['pollDelay'],dbName=paraDict["dbName"],showMsg=paraDict['showMsg'], showRow=paraDict['showRow'],snapshot=paraDict['snapshot'])
|
tmqCom.startTmqSimProcess(pollDelay=paraDict['pollDelay'],dbName=paraDict["dbName"],showMsg=paraDict['showMsg'], showRow=paraDict['showRow'],snapshot=paraDict['snapshot'])
|
||||||
|
|
||||||
|
tmqCom.getStartConsumeNotifyFromTmqsim()
|
||||||
tdLog.info("================= restart dnode 2===========================")
|
tdLog.info("================= restart dnode 2===========================")
|
||||||
cluster.dnodes[1].stoptaosd()
|
cluster.dnodes[1].stoptaosd()
|
||||||
cluster.dnodes[1].starttaosd()
|
cluster.dnodes[1].starttaosd()
|
||||||
|
|
Loading…
Reference in New Issue