diff --git a/pom.xml b/pom.xml index ce40007..aca5aea 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.appdynamics.extensions nginx-monitoring-extension - 2.2.1 + 2.2.2 jar nginx-monitoring-extension @@ -20,7 +20,7 @@ com.appdynamics appd-exts-commons - 2.2.4 + 2.2.13 com.appdynamics @@ -31,18 +31,24 @@ org.json json - 20140107 + 20240303 org.powermock powermock-api-mockito - 1.6.3 + 1.7.4 test org.powermock powermock-module-junit4 - 1.5.6 + 1.7.4 + test + + + junit + junit + 4.13.1 test diff --git a/src/test/java/com/appdynamics/extensions/nginx/NginXMonitorTaskTest.java b/src/test/java/com/appdynamics/extensions/nginx/NginXMonitorTaskTest.java index ebe3b14..81f1610 100644 --- a/src/test/java/com/appdynamics/extensions/nginx/NginXMonitorTaskTest.java +++ b/src/test/java/com/appdynamics/extensions/nginx/NginXMonitorTaskTest.java @@ -67,6 +67,8 @@ class NginxMonitorTaskTest { Map config; private ArgumentCaptor pathCaptor = ArgumentCaptor.forClass(List.class); + public NginxMonitorTaskTest() {}; + @Before public void setup() throws IOException { MonitorContextConfiguration contextConfiguration = ConfigTestUtil.getContextConfiguration("src/test/resources/metricsPlainText.xml", "src/test/resources/config.yml");