summaryrefslogtreecommitdiffstats
path: root/vid-automation/src/test/java/org/onap
diff options
context:
space:
mode:
authorEylon Malin <eylon.malin@intl.att.com>2019-08-15 11:39:22 +0300
committerEylon Malin <eylon.malin@intl.att.com>2019-08-15 11:51:00 +0300
commit7bb28ca74c56e7312d41f8e152bc40d255172cdb (patch)
treee343e3b17880e6535233b1cdc73aec2e6af24973 /vid-automation/src/test/java/org/onap
parent1eaeae75f218b96e3214c8a79de3239413e0aa95 (diff)
Skip log format validation for a week
Add annotation SkipTestUntil and TestNg transformer so we can add annotation for skip test till some date (aka time bomb) Use it in log format tests Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Ib4b5d17d73d360fd2554b5ffc0373790d22d9e4e Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
Diffstat (limited to 'vid-automation/src/test/java/org/onap')
-rw-r--r--vid-automation/src/test/java/org/onap/vid/more/LoggerFormatTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/vid-automation/src/test/java/org/onap/vid/more/LoggerFormatTest.java b/vid-automation/src/test/java/org/onap/vid/more/LoggerFormatTest.java
index d72337f3d..20367ea70 100644
--- a/vid-automation/src/test/java/org/onap/vid/more/LoggerFormatTest.java
+++ b/vid-automation/src/test/java/org/onap/vid/more/LoggerFormatTest.java
@@ -9,6 +9,7 @@ import org.onap.vid.api.BaseApiTest;
import org.springframework.web.client.RestTemplate;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
+import vid.automation.test.infra.SkipTestUntil;
import vid.automation.test.services.SimulatorApi;
import java.net.URI;
@@ -37,6 +38,7 @@ public class LoggerFormatTest extends BaseApiTest {
SimulatorApi.registerExpectationFromPreset(new PresetAAIGetSubscribersGet(), SimulatorApi.RegistrationStrategy.CLEAR_THEN_SET);
}
+ @SkipTestUntil("2019-08-22")
@Test
public void validateAuditLogsFormat() {
validateLogsFormat("audit");
@@ -47,6 +49,7 @@ public class LoggerFormatTest extends BaseApiTest {
validateLogsFormat("error");
}
+ @SkipTestUntil("2019-08-22")
@Test
public void validateMetricsLogsFormat() {
validateLogsFormat("metrics", "metric");