File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
javav2/example_code/redshift/src/test/java Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff 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 ();
@@ -184,17 +184,19 @@ public void testModifyDatabase() {
184184 logger .info ("Test 10 passed" );
185185 }
186186
187+
187188 @ Test
188189 @ Tag ("IntegrationTest" )
189190 @ Order (11 )
190- public void testDeleteDatabase () {
191+ public void testDeleteCluster () {
191192 assertDoesNotThrow (() -> {
192193 CompletableFuture <DeleteClusterResponse > future = redshiftActions .deleteRedshiftClusterAsync (clusterId );;
193194 future .join ();
194195 });
195196 logger .info ("Test 11 passed" );
196197 }
197198
199+
198200 private static String getSecretValues () {
199201 SecretsManagerClient secretClient = SecretsManagerClient .builder ()
200202 .region (Region .US_EAST_1 )
You can’t perform that action at this time.
0 commit comments