Skip to content

Commit

Permalink
Fixed code
Browse files Browse the repository at this point in the history
  • Loading branch information
TetyanaYahodska committed Dec 18, 2024
1 parent d4fc570 commit 9fe1590
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
import org.mockito.MockedStatic;

@RunWith(JUnit4.class)
@Timeout(value = 3)
@Timeout(value = 5)
public class InstanceAttachDiskIT {
private static final String PROJECT_ID = System.getenv("GOOGLE_CLOUD_PROJECT");
private static final String ZONE = "us-west1-a";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
import compute.CreateRegionalInstanceTemplate;
import compute.DeleteInstanceTemplate;
import compute.DeleteRegionalInstanceTemplate;
import compute.Util;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.PrintStream;
Expand Down Expand Up @@ -94,7 +93,6 @@ public static void setUp()
requireEnvVar("GOOGLE_CLOUD_PROJECT");
stdOut = new ByteArrayOutputStream();
System.setOut(new PrintStream(stdOut));
Util.cleanUpExistingReservations("test-reservation-", PROJECT_ID, ZONE);

// Create instance template with GLOBAL location.
CreateInstanceTemplate.createInstanceTemplate(PROJECT_ID, GLOBAL_INSTANCE_TEMPLATE_NAME);
Expand Down

0 comments on commit 9fe1590

Please sign in to comment.