mirror of
https://github.com/valitydev/yandex-tank.git
synced 2024-11-07 10:49:00 +00:00
Fix connect test condition
This commit is contained in:
parent
ee98dc5a47
commit
4861b6c341
@ -241,7 +241,7 @@ class StreamConfig:
|
||||
self.phantom_http_entity = self.get_option("phantom_http_entity", "")
|
||||
|
||||
self.address = self.get_option('address', '127.0.0.1')
|
||||
do_test_connect = int(self.get_option("connection_test", "1")) is True
|
||||
do_test_connect = int(self.get_option("connection_test", "1"))>0
|
||||
explicit_port = self.get_option('port', '')
|
||||
self.ipv6, self.resolved_ip, self.port, self.address = self.address_wizard.resolve(self.address,
|
||||
do_test_connect,
|
||||
|
Loading…
Reference in New Issue
Block a user