Fix test with token

This commit is contained in:
Antonio Andelic 2024-03-19 12:01:19 +01:00
parent d1d28e280f
commit 118e30882a

View File

@ -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])