File tree Expand file tree Collapse file tree
compute/cloud-client/src/test/java/compute Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4545public class FirewallIT {
4646
4747 @ ClassRule
48- public Timeout timeout = new Timeout (1 , TimeUnit .MINUTES );
48+ public Timeout timeout = new Timeout (1 , TimeUnit .SECONDS );
4949
5050 private static final String PROJECT_ID = System .getenv ("GOOGLE_CLOUD_PROJECT" );
5151 private static String FIREWALL_RULE_CREATE ;
Original file line number Diff line number Diff line change 4444public class InstanceTemplatesIT {
4545
4646 @ ClassRule
47- public Timeout timeout = new Timeout (1 , TimeUnit .MINUTES );
47+ public Timeout timeout = new Timeout (1 , TimeUnit .SECONDS );
4848
4949
5050 private static final String PROJECT_ID = System .getenv ("GOOGLE_CLOUD_PROJECT" );
Original file line number Diff line number Diff line change 5252public class InstancesAdvancedIT {
5353
5454 @ ClassRule
55- public Timeout timeout = new Timeout (1 , TimeUnit .MINUTES );
55+ public Timeout timeout = new Timeout (1 , TimeUnit .SECONDS );
5656
5757 private static final String PROJECT_ID = System .getenv ("GOOGLE_CLOUD_PROJECT" );
5858 private static String ZONE ;
Original file line number Diff line number Diff line change 4242import java .util .concurrent .TimeoutException ;
4343import java .util .stream .IntStream ;
4444import org .junit .Assert ;
45+ import org .junit .ClassRule ;
4546import org .junit .Rule ;
4647import org .junit .jupiter .api .AfterAll ;
4748import org .junit .jupiter .api .AfterEach ;
5556@ RunWith (JUnit4 .class )
5657public class SnippetsIT {
5758
58- @ Rule
59- public Timeout timeout = new Timeout (1 , TimeUnit .MINUTES );
59+ @ ClassRule
60+ public Timeout timeout = new Timeout (1 , TimeUnit .SECONDS );
6061
6162 private static final String PROJECT_ID = System .getenv ("GOOGLE_CLOUD_PROJECT" );
6263 private static String ZONE ;
Original file line number Diff line number Diff line change 4343public class CustomHostnameInstanceIT {
4444
4545 @ ClassRule
46- public Timeout timeout = new Timeout (1 , TimeUnit .MINUTES );
46+ public Timeout timeout = new Timeout (1 , TimeUnit .SECONDS );
4747
4848 private static final String PROJECT_ID = System .getenv ("GOOGLE_CLOUD_PROJECT" );
4949 private static String INSTANCE_NAME ;
Original file line number Diff line number Diff line change 4444public class DeleteProtectionIT {
4545
4646 @ ClassRule
47- public Timeout timeout = new Timeout (1 , TimeUnit .MINUTES );
47+ public Timeout timeout = new Timeout (1 , TimeUnit .SECONDS );
4848
4949 private static final String PROJECT_ID = System .getenv ("GOOGLE_CLOUD_PROJECT" );
5050 private static final String ZONE = "us-central1-a" ;
Original file line number Diff line number Diff line change 4646public class PreemptibleIT {
4747
4848 @ ClassRule
49- public Timeout timeout = new Timeout (1 , TimeUnit .MINUTES );
49+ public Timeout timeout = new Timeout (1 , TimeUnit .SECONDS );
5050
5151 private static final String PROJECT_ID = System .getenv ("GOOGLE_CLOUD_PROJECT" );
5252 private static final String ZONE = "us-central1-a" ;
You can’t perform that action at this time.
0 commit comments