mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 01:22:04 +00:00
Fix test with token
This commit is contained in:
parent
d1d28e280f
commit
118e30882a
@ -119,7 +119,7 @@ q = queue.Queue(100)
|
||||
total_number = 10000
|
||||
|
||||
use_token = False
|
||||
if len(sys.argv) > 3 and sys.argv[2] == "token":
|
||||
if len(sys.argv) >= 3 and sys.argv[2] == "token":
|
||||
use_token = True
|
||||
|
||||
gen = Thread(target=generate_data, args=[q, total_number, use_token])
|
||||
|
Loading…
Reference in New Issue
Block a user