From 26d86cdfebed92e8bb66e566ff6398a5e231d162 Mon Sep 17 00:00:00 2001 From: Tomasz Tutka Date: Mon, 16 Sep 2024 10:42:50 +0200 Subject: [PATCH] fixed --- .github/workflows/test_runner.yml | 7 ------- .../equinix/openapi/fabric/tests/ConnectionsApiTest.java | 1 + 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/test_runner.yml b/.github/workflows/test_runner.yml index ceabd44..225b35a 100644 --- a/.github/workflows/test_runner.yml +++ b/.github/workflows/test_runner.yml @@ -26,13 +26,6 @@ jobs: run: |- mvn clean test -DenvUrl=${{ env.TEST_HOST_URL }} - - name: Generate report - if: always() - shell: bash - run: |- - cd equinix-openapi-fabric-tests - mvn surefire-report:report -DskipTests - - name: attach report as attachment if: always() uses: actions/upload-artifact@v4 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 1f238c7..7dfdbe5 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 @@ -223,6 +223,7 @@ public static Connection createPort2SpConnection() throws ApiException { .getData().stream() .filter(sp -> sp.getState().equals(ServiceProfileStateEnum.ACTIVE)) .filter(sp -> sp.getVisibility().equals(ServiceProfileVisibilityEnum.PUBLIC)) + .filter(sp -> !sp.getAccessPointTypeConfigs().get(0).getServiceProfileAccessPointTypeCOLO().getSupportedBandwidths().isEmpty()) .findAny().get(); UsersItem usersItem = Utils.getUserData(getCurrentUser());