@@ -28,15 +28,19 @@ public function runTests()
2828 {
2929 $ this ->startTimer ();
3030
31+ $ this ->logger ->info ('-> Volumes ' );
3132 $ this ->volumes ();
33+ $ this ->logger ->info ('-> Volume Types ' );
3234 $ this ->volumeTypes ();
35+ $ this ->logger ->info ('-> Snapshots ' );
3336 $ this ->snapshots ();
3437
3538 $ this ->outputTimeTaken ();
3639 }
3740
3841 public function volumes ()
3942 {
43+ $ this ->logStep ('-> Volumes tests ' );
4044 $ this ->logStep ('Creating volume type ' );
4145 $ volumeType = $ this ->getService ()->createVolumeType (['name ' => $ this ->randomStr ()]);
4246
@@ -88,6 +92,8 @@ public function volumes()
8892
8993 public function volumeTypes ()
9094 {
95+ $ this ->logStep ('-> Volumes Types tests ' );
96+
9197 $ replacements = [
9298 '{name} ' => $ this ->randomStr (),
9399 ];
@@ -122,9 +128,11 @@ public function volumeTypes()
122128
123129 public function snapshots ()
124130 {
131+ $ this ->logStep ('-> Snapshot tests ' );
132+
125133 $ this ->logStep ('Creating volume ' );
126134 $ volume = $ this ->getService ()->createVolume (['name ' => $ this ->randomStr (), 'size ' => 1 ]);
127- $ volume ->waitUntilActive ( );
135+ $ volume ->waitUntil ( ' available ' , 60 );
128136
129137 $ replacements = [
130138 '{volumeId} ' => $ volume ->id ,
@@ -137,7 +145,7 @@ public function snapshots()
137145 require_once $ this ->sampleFile ($ replacements , 'snapshots/create.php ' );
138146 $ this ->assertInstanceOf (Snapshot::class, $ snapshot );
139147 $ this ->assertEquals ($ replacements ['{name} ' ], $ snapshot ->name );
140- $ snapshot -> waitUntilActive ( );
148+ $ volume -> waitUntil ( ' available ' , 60 );
141149
142150 $ snapshotId = $ snapshot ->id ;
143151 $ replacements = ['{snapshotId} ' => $ snapshotId ];
0 commit comments