3939import  java .util .concurrent .TimeUnit ;
4040import  java .util .concurrent .TimeoutException ;
4141import  org .junit .Assert ;
42- import  org .junit .FixMethodOrder ;
4342import  org .junit .jupiter .api .AfterAll ;
4443import  org .junit .jupiter .api .Assertions ;
4544import  org .junit .jupiter .api .BeforeAll ;
4645import  org .junit .jupiter .api .Test ;
4746import  org .junit .jupiter .api .Timeout ;
4847import  org .junit .runner .RunWith ;
4948import  org .junit .runners .JUnit4 ;
50- import  org .junit .runners .MethodSorters ;
5149
5250@ RunWith (JUnit4 .class )
5351@ Timeout (value  = 25 , unit  = TimeUnit .MINUTES )
54- @ FixMethodOrder (MethodSorters .NAME_ASCENDING )
5552public  class  ReservationIT  {
5653
5754  private  static  final  String  PROJECT_ID  = System .getenv ("GOOGLE_CLOUD_PROJECT" );
@@ -104,7 +101,6 @@ public static void setUp()
104101    Util .cleanUpExistingInstanceTemplates ("test-global-inst-temp-" , PROJECT_ID );
105102    Util .cleanUpExistingRegionalInstanceTemplates ("test-regional-inst-temp-" , PROJECT_ID , ZONE );
106103    Util .cleanUpExistingReservations ("test-reserv-" , PROJECT_ID , ZONE );
107-     TimeUnit .MINUTES .sleep (5 );
108104
109105    // Create instance template with GLOBAL location. 
110106    CreateInstanceTemplate .createInstanceTemplate (PROJECT_ID , GLOBAL_INSTANCE_TEMPLATE_NAME );
@@ -163,7 +159,7 @@ public static void cleanup()
163159  }
164160
165161  @ Test 
166-   public  void  firstCreateReservationWithGlobalInstanceTemplateTest ()
162+   public  void  testCreateReservationWithGlobalInstanceTemplate ()
167163      throws  IOException , ExecutionException , InterruptedException , TimeoutException  {
168164    CreateReservationForInstanceTemplate .createReservationForInstanceTemplate (
169165        PROJECT_ID , RESERVATION_NAME_GLOBAL ,
@@ -176,7 +172,7 @@ public void firstCreateReservationWithGlobalInstanceTemplateTest()
176172  }
177173
178174  @ Test 
179-   public  void  firstCreateReservationWithRegionInstanceTemplateTest ()
175+   public  void  testCreateReservationWithRegionInstanceTemplate ()
180176      throws  IOException , ExecutionException , InterruptedException , TimeoutException  {
181177    CreateReservationForInstanceTemplate .createReservationForInstanceTemplate (
182178        PROJECT_ID , RESERVATION_NAME_REGIONAL , REGIONAL_INSTANCE_TEMPLATE_URI ,
@@ -196,7 +192,7 @@ public void testCreateInstanceNotConsumeReservation()
196192    CreateInstanceNotConsumeReservation .createInstanceNotConsumeReservation (
197193        PROJECT_ID , ZONE , INSTANCE_NOT_CONSUME_RESERVATION_NAME , MACHINE_TYPE );
198194
199-     // Verify that the instance was created with the correct reservation and  consumeReservationType 
195+     // Verify that the instance was created with the correct consumeReservationType 
200196    Instance  instance  = instancesClient .get (
201197        PROJECT_ID , ZONE , INSTANCE_NOT_CONSUME_RESERVATION_NAME );
202198
0 commit comments