From 5c8c1363efa3d05ce68e6d93a50dfb56f1464397 Mon Sep 17 00:00:00 2001 From: Tomasz Tutka Date: Thu, 12 Dec 2024 19:10:51 +0100 Subject: [PATCH 1/3] updated version --- equinix-openapi-fabric-tests/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/equinix-openapi-fabric-tests/pom.xml b/equinix-openapi-fabric-tests/pom.xml index 6374bc8..dd62c1a 100644 --- a/equinix-openapi-fabric-tests/pom.xml +++ b/equinix-openapi-fabric-tests/pom.xml @@ -43,7 +43,7 @@ com.equinix equinix-openapi-fabric - 0.10.0 + 0.11.0 From fbf7d4894ee308e119a3f78d429e2bcf978ba631 Mon Sep 17 00:00:00 2001 From: Tomasz Tutka Date: Wed, 18 Dec 2024 16:26:51 +0100 Subject: [PATCH 2/3] removed commented line --- .../com/equinix/openapi/fabric/tests/ConnectionsApiTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/equinix-openapi-fabric-tests/src/test/java/com/equinix/openapi/fabric/tests/ConnectionsApiTest.java b/equinix-openapi-fabric-tests/src/test/java/com/equinix/openapi/fabric/tests/ConnectionsApiTest.java index 6faab2d..e2e92ff 100644 --- a/equinix-openapi-fabric-tests/src/test/java/com/equinix/openapi/fabric/tests/ConnectionsApiTest.java +++ b/equinix-openapi-fabric-tests/src/test/java/com/equinix/openapi/fabric/tests/ConnectionsApiTest.java @@ -87,7 +87,6 @@ public void createConnectionVdColo() throws ApiException { new AccessPoint() .type(AccessPointType.COLO) .port(new SimplifiedPort() -// .uuid(port.getUuid())) .uuid(portUuid)) .linkProtocol(new SimplifiedLinkProtocol() .type(LinkProtocolType.DOT1Q) @@ -372,7 +371,7 @@ public static boolean waitForConnectionIsInState(String connectionUuid, EquinixS } if (!result) { - System.out.println(result + " Connection has not reached the expected state: " + connectionState[0].getValue() + " current state: " + currentState.getValue()); + System.out.println("Connection has not reached the expected state: " + connectionState[0].getValue() + " current state: " + currentState.getValue()); } return result; } From 4da58271f71b40c8ccc6db6815921561c2fc3275 Mon Sep 17 00:00:00 2001 From: Tomasz Tutka Date: Thu, 19 Dec 2024 10:57:08 +0100 Subject: [PATCH 3/3] changed catch action for delete connection --- .../com/equinix/openapi/fabric/tests/ConnectionsApiTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/equinix-openapi-fabric-tests/src/test/java/com/equinix/openapi/fabric/tests/ConnectionsApiTest.java b/equinix-openapi-fabric-tests/src/test/java/com/equinix/openapi/fabric/tests/ConnectionsApiTest.java index e2e92ff..9244b6f 100644 --- a/equinix-openapi-fabric-tests/src/test/java/com/equinix/openapi/fabric/tests/ConnectionsApiTest.java +++ b/equinix-openapi-fabric-tests/src/test/java/com/equinix/openapi/fabric/tests/ConnectionsApiTest.java @@ -42,7 +42,7 @@ public static void removeConnections(UsersItem.UserName userName) { try { deleteConnection(uuid); } catch (ApiException e) { - throw new RuntimeException(e); + System.out.println(e.getMessage()); } }); } catch (InterruptedException e) {