X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=test%2Ftest_socks.py;h=d07003cebe0b2adca1dccde5c246e44fff270f7b;hb=c2876afafef392220cdb2baebace1d6d533f8d63;hp=dc9b8d276f05bdae7b6647d498a02c201e525db8;hpb=6ddb4888d2610df3bbb5024440caddde50fe9ad8;p=youtube-dl diff --git a/test/test_socks.py b/test/test_socks.py index dc9b8d276..d07003ceb 100644 --- a/test/test_socks.py +++ b/test/test_socks.py @@ -78,7 +78,7 @@ class TestMultipleSocks(unittest.TestCase): class TestSocks(unittest.TestCase): def setUp(self): - self.port = random.randint(49152, 65535) + self.port = random.randint(20000, 30000) self.server_process = subprocess.Popen([ 'srelay', '-f', '-i', '127.0.0.1:%d' % self.port], stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)