mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-21 09:10:48 +00:00
Better test, minor fix.
This commit is contained in:
parent
1b715069fb
commit
a54b43cd01
@ -46,14 +46,7 @@ received_data_completed = False
|
||||
def test_sophisticated_default(started_cluster):
|
||||
instance = started_cluster.instances['dummy']
|
||||
|
||||
def GetCurrentIP():
|
||||
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
|
||||
s.connect(("8.8.8.8", 80))
|
||||
ip = s.getsockname()[0]
|
||||
s.close()
|
||||
return ip
|
||||
|
||||
localhost = GetCurrentIP()
|
||||
localhost = 'localhost'
|
||||
|
||||
def GetFreeTCPPorts(n):
|
||||
result = []
|
||||
|
Loading…
Reference in New Issue
Block a user