Avoid triggering flood limits
This commit is contained in:
parent
892c19af24
commit
02b7ce7da4
@ -74,6 +74,7 @@ final class DataCenterTest extends TestCase
|
||||
|
||||
$API->getLogger()->logger("Testing protocol $protocol using transport $transport, ".($obfuscated ? 'obfuscated ' : 'not obfuscated ').($test_mode ? 'test DC ' : 'main DC ').($ipv6 ? 'IPv6' : 'IPv4'));
|
||||
|
||||
sleep(1);
|
||||
try {
|
||||
Tools::wait($datacenter->dcConnect(2));
|
||||
} finally {
|
||||
@ -99,9 +100,6 @@ final class DataCenterTest extends TestCase
|
||||
if ($protocol === 'full' && $obfuscated) {
|
||||
continue;
|
||||
}
|
||||
if (in_array($protocol, ['intermediate', 'intermediate_padded']) && $obfuscated && getenv('TRAVIS_COMMIT')) {
|
||||
continue;
|
||||
}
|
||||
yield [$transport, $obfuscated, $protocol, $test_mode, $ipv6];
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user