Avoid triggering flood limits

This commit is contained in:
Daniil Gentili 2020-02-05 20:00:11 +01:00
parent 892c19af24
commit 02b7ce7da4
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -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];
}
}