public static function waitMetaSync()
{
if (getenv('TRAVIS')) {
sleep(10);
}
}
public function setUp() { $this->client = Common::getOssClient(); $this->bucketName = 'php-sdk-test-rtmp-bucket-name-' . strval(rand(0, 10000)); $this->client->createBucket($this->bucketName); Common::waitMetaSync(); }