From 7f8473b58b62a06e5b177cd8ab292cbc29e016c4 Mon Sep 17 00:00:00 2001 From: jasonli-improving Date: Thu, 29 Feb 2024 13:21:29 -0800 Subject: [PATCH] fix bug with instance id --- .../java/integration/container/tests/TopologyQueryTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrapper/src/test/java/integration/container/tests/TopologyQueryTests.java b/wrapper/src/test/java/integration/container/tests/TopologyQueryTests.java index 089cdab80..5354a3188 100644 --- a/wrapper/src/test/java/integration/container/tests/TopologyQueryTests.java +++ b/wrapper/src/test/java/integration/container/tests/TopologyQueryTests.java @@ -159,7 +159,7 @@ public void auroraTestTimestamp(TestDriver testDriver) throws SQLException, Pars TestEnvironment.getCurrent().getInfo().getDatabaseInfo().getDefaultDbName()); LOGGER.finest("Connecting to " + url); - String dbInstanceIdentifier = TestEnvironment.getCurrent().getInfo().getAuroraClusterName(); + String dbInstanceIdentifier = TestEnvironment.getCurrent().getInfo().getDatabaseInfo().getInstances().get(0).getInstanceId(); Region region = Region.of(TestEnvironment.getCurrent().getInfo().getAuroraRegion()); String caCertificateIdentifier = TestEnvironment.getCurrent().getInfo().getAuroraRegion(); RdsClient client = RdsClient.builder()