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 9494 );
9595 $ operationResponse ->pollUntilComplete ();
9696 if (!$ operationResponse ->operationSucceeded ()) {
97- $ error = $ operationResponse ->getError ();
98- throw $ error ;
97+ print ('Error: ' . $ operationResponse ->getError ());
9998 } else {
10099 printf ("Instance %s created. " , $ instance_id );
101100 }
Original file line number Diff line number Diff line change 8585 );
8686 $ operationResponse ->pollUntilComplete ();
8787 if (!$ operationResponse ->operationSucceeded ()) {
88- $ error = $ operationResponse ->getError ();
89- throw $ error ;
88+ print ('Error: ' . $ operationResponse ->getError ());
9089 } else {
9190 printf ("Instance %s created. " , $ instance_id );
9291 }
Original file line number Diff line number Diff line change @@ -61,6 +61,11 @@ public static function setUpBeforeClass()
6161 self ::$ instance = $ spanner ->instance (self ::$ instanceId );
6262 }
6363
64+ public function setUp ()
65+ {
66+ $ this ->useExpectationFailedBackoff ();
67+ }
68+
6469 public function testCreateDatabase ()
6570 {
6671 $ output = $ this ->runCommand ('create-database ' );
You can’t perform that action at this time.
0 commit comments