http_port = random.randint(10000, 20000)
# start an http server in a separate thread
- http_server = StreamingHTTPServer(host, http_port, num_workers=10, delay=0.5)
+ http_server = StreamingHTTPServer(host, http_port, num_workers=10)
# create bucket
bucket_name = gen_bucket_name()
assert_equal(result[1], 0)
# start an http server in a separate thread
- http_server = StreamingHTTPServer(host, http_port, num_workers=10, delay=0.5)
+ http_server = StreamingHTTPServer(host, http_port, num_workers=10)
- print('wait for '+str(delay)+'sec for the messages...')
- time.sleep(delay)
+ print('wait for '+str(delay*2)+'sec for the messages...')
+ time.sleep(delay*2)
# topic stats
result = admin(['topic', 'stats', '--topic', topic_name], get_config_cluster())
http_port = random.randint(10000, 20000)
# start an http server in a separate thread
- http_server = StreamingHTTPServer(host, http_port, num_workers=10, delay=0.5)
+ http_server = StreamingHTTPServer(host, http_port, num_workers=10)
# create bucket
bucket_name = gen_bucket_name()