diff --git a/aws-greengrass-testing-platform/aws-greengrass-testing-platform-api/src/main/java/com/aws/greengrass/testing/platform/windows/WindowsNetworkUtils.java b/aws-greengrass-testing-platform/aws-greengrass-testing-platform-api/src/main/java/com/aws/greengrass/testing/platform/windows/WindowsNetworkUtils.java
index c6198ef1..10b7fd6e 100644
--- a/aws-greengrass-testing-platform/aws-greengrass-testing-platform-api/src/main/java/com/aws/greengrass/testing/platform/windows/WindowsNetworkUtils.java
+++ b/aws-greengrass-testing-platform/aws-greengrass-testing-platform-api/src/main/java/com/aws/greengrass/testing/platform/windows/WindowsNetworkUtils.java
@@ -124,12 +124,12 @@ private void runNetshCommand(String command, boolean ignoreError) {
}
@Override
- public void disconnectNetwork() {
- throw new UnsupportedOperationException("Operation not supported");
+ public void disconnectNetwork() throws InterruptedException, IOException {
+ blockPorts(NETWORK_PORTS);
}
@Override
- public void recoverNetwork() {
- throw new UnsupportedOperationException("Operation not supported");
+ public void recoverNetwork() throws InterruptedException, IOException {
+ deleteRules(NETWORK_PORTS);
}
}
diff --git a/pom.xml b/pom.xml
index ebb89213..3c232b60 100644
--- a/pom.xml
+++ b/pom.xml
@@ -147,35 +147,6 @@
-
-
- org.codehaus.mojo
- versions-maven-plugin
- 2.16.1
-
-
-
- aws.sdk.version
-
-
- software.amazon.awssdk
- bom
- latest
-
-
-
-
-
-
-
- validate
-
- update-properties
-
-
-
-
-
com.github.siom79.japicmp
japicmp-maven-plugin