File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 94
94
);
95
95
$ operationResponse ->pollUntilComplete ();
96
96
if (!$ operationResponse ->operationSucceeded ()) {
97
- $ error = $ operationResponse ->getError ();
98
- throw $ error ;
97
+ print ('Error: ' . $ operationResponse ->getError ());
99
98
} else {
100
99
printf ("Instance %s created. " , $ instance_id );
101
100
}
Original file line number Diff line number Diff line change 85
85
);
86
86
$ operationResponse ->pollUntilComplete ();
87
87
if (!$ operationResponse ->operationSucceeded ()) {
88
- $ error = $ operationResponse ->getError ();
89
- throw $ error ;
88
+ print ('Error: ' . $ operationResponse ->getError ());
90
89
} else {
91
90
printf ("Instance %s created. " , $ instance_id );
92
91
}
Original file line number Diff line number Diff line change @@ -61,6 +61,11 @@ public static function setUpBeforeClass()
61
61
self ::$ instance = $ spanner ->instance (self ::$ instanceId );
62
62
}
63
63
64
+ public function setUp ()
65
+ {
66
+ $ this ->useExpectationFailedBackoff ();
67
+ }
68
+
64
69
public function testCreateDatabase ()
65
70
{
66
71
$ output = $ this ->runCommand ('create-database ' );
You can’t perform that action at this time.
0 commit comments