Skip to content

Commit

Permalink
increase sleep time
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertYue19900425 committed Oct 30, 2016
1 parent 6552a94 commit 32ae068
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/OSS/Tests/BucketLiveChannelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function setUp()
$this->client = Common::getOssClient();
$this->bucketName = 'php-sdk-test-bucket-name-' . strval(rand(0, 10));
$this->client->createBucket($this->bucketName);
sleep(15);
Common::waitMetaSync();
}

public function tearDown()
Expand Down Expand Up @@ -156,6 +156,7 @@ public function testDeleteLiveChannel()
'fragCount' => 5,
'playListName' => 'hello'
));
sleep(30);
$this->client->putBucketLiveChannel($this->bucketName, $config);

$this->client->deleteBucketLiveChannel($this->bucketName, $channelId);
Expand Down
2 changes: 1 addition & 1 deletion tests/OSS/Tests/TestOssClientBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ public function setUp()
$this->bucket = Common::getBucketName() . rand(100000, 999999);
$this->ossClient = Common::getOssClient();
$this->ossClient->createBucket($this->bucket);
sleep(30);
}

public function tearDown()
{
sleep(60);
if (!$this->ossClient->doesBucketExist($this->bucket)) {
return;
}
Expand Down

0 comments on commit 32ae068

Please sign in to comment.