homework-jianmu/tests/pytest/cluster/TD-3693/how-to-use

9 lines
741 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

execute:
cd TDengine/tests/pytest && python3 ./test.py -f cluster/TD-3693/multClient.py && python3 cluster/TD-3693/multQuery.py
1. 使用测试的集群三个节点fc1、fct2、fct4。
2. 用taosdemo建两个库db1和db2副本数目为1插入一定数据。
3. db1在mnode的master上fct2db2在mnode的slave上fct4
4. 珲哥修改taosdemo变成多线程查询修改后的软件我命名成taosdemoMul然后做持续多线程查询db2上的数据建立多个连接
5. 4中查询过程放到后台同时再次在db2执行建表、插入查询操作。循环执行查询10次每次间隔91s。
6. 然后查询taosd的log日志看是否还存在上述问题“send auth msg to mnodes”。