Skip to content

Commit b1a6f0a

Browse files
authored
test: add retries to vision tests (GoogleCloudPlatform#1038)
1 parent 0453b02 commit b1a6f0a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

vision/test/visionTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,17 @@
2121
use Google\Cloud\TestUtils\TestTrait;
2222
use Google\Cloud\TestUtils\ExecuteCommandTrait;
2323
use PHPUnit\Framework\TestCase;
24+
use PHPUnitRetry\RetryTrait;
2425

2526
/**
2627
* Unit Tests for vision commands.
28+
*
29+
* @retryAttempts 2
2730
*/
2831
class visionTest extends TestCase
2932
{
3033
use TestTrait;
34+
use RetryTrait;
3135
use ExecuteCommandTrait;
3236

3337
private static $commandFile = __DIR__ . '/../vision.php';

0 commit comments

Comments
 (0)