Merge pull request #7174 from taosdata/test/TD-5369master

[TD-5369]<test> : "fix an error about test case for subscribe !"
This commit is contained in:
Hui Li 2021-08-05 22:40:24 +08:00 committed by GitHub
commit e6b098caf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -79,7 +79,8 @@ class TDTestCase:
# merge result files
sleep(10)
sleep(5)
os.system("cat subscribe_res0.txt* > all_subscribe_res0.txt")
os.system("cat subscribe_res1.txt* > all_subscribe_res1.txt")
os.system("cat subscribe_res2.txt* > all_subscribe_res2.txt")
@ -99,11 +100,10 @@ class TDTestCase:
# insert extral data
tdSql.execute("use subnsdb")
tdSql.execute("insert into tb0_0 values(now,100.1000,'subtest1',now-1s)")
sleep(1)
sleep(15)
os.system("cat subscribe_res0.txt* > all_subscribe_res0.txt")
subTimes0 = self.subTimes("all_subscribe_res0.txt")
print("pass")
self.assertCheck("all_subscribe_res0.txt",subTimes0 ,202)