File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed
compute/cloud-client/src/test/java/compute/reservation Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -102,17 +102,6 @@ public void testCreateReservation()
102102
103103 @ Test
104104 @ Order (3 )
105- public void testGetReservation ()
106- throws IOException {
107- Reservation reservation = GetReservation .getReservation (
108- PROJECT_ID , RESERVATION_NAME , ZONE );
109-
110- assertNotNull (reservation );
111- assertThat (reservation .getName ()).isEqualTo (RESERVATION_NAME );
112- }
113-
114- @ Test
115- @ Order (4 )
116105 public void testListReservation () throws IOException {
117106 List <Reservation > reservations =
118107 ListReservations .listReservations (PROJECT_ID , ZONE );
@@ -131,6 +120,8 @@ public void testUpdateVmsForReservation()
131120 Reservation reservation = GetReservation .getReservation (
132121 PROJECT_ID , RESERVATION_NAME , ZONE );
133122
123+ assertNotNull (reservation );
124+ assertThat (reservation .getName ()).isEqualTo (RESERVATION_NAME );
134125 Assert .assertEquals (newNumberOfVms , reservation .getSpecificReservation ().getCount ());
135126 }
136127}
You can’t perform that action at this time.
0 commit comments