Skip to content

Commit 5a1377b

Browse files
authored
Fixed an issue and Redshift tests now run again (#7606)
1 parent 30df16f commit 5a1377b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

javav2/example_code/redshift/src/test/java/AmazonRedshiftTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ public class AmazonRedshiftTest {
4848
@BeforeAll
4949
public static void setUp() {
5050
redshiftClient = RedshiftClient.builder()
51-
.region(Region.US_EAST_1)
51+
.region(Region.US_EAST_2)
5252
.build();
5353

5454
redshiftDataClient = RedshiftDataClient.builder()
55-
.region(Region.US_EAST_1)
55+
.region(Region.US_EAST_2)
5656
.build();
5757

5858
Random rand = new Random();
@@ -195,6 +195,7 @@ public void testDeleteDatabase() {
195195
logger.info("Test 11 passed");
196196
}
197197

198+
198199
private static String getSecretValues() {
199200
SecretsManagerClient secretClient = SecretsManagerClient.builder()
200201
.region(Region.US_EAST_1)

0 commit comments

Comments
 (0)