aboutsummaryrefslogtreecommitdiffstats
path: root/vid-automation/src/test/java/org/onap/vid
diff options
context:
space:
mode:
authorIttay Stern <ittay.stern@att.com>2019-11-26 17:23:49 +0200
committerIttay Stern <ittay.stern@att.com>2019-11-26 15:26:36 +0000
commit52f31f5641ed47a2c44956c91d88faf227b8a896 (patch)
tree74514d4c0d11d16f0c0ca566acf2a183a0755004 /vid-automation/src/test/java/org/onap/vid
parent5518615a9a8344079440ca646d2a62d19bfb0c52 (diff)
Make LoggerFormatTest run last
Issue-ID: VID-647 Change-Id: Ia9989555d3fbdfe222410be59c8a581be32974e0 Signed-off-by: Ittay Stern <ittay.stern@att.com>
Diffstat (limited to 'vid-automation/src/test/java/org/onap/vid')
-rw-r--r--vid-automation/src/test/java/org/onap/vid/more/LoggerFormatTest.java7
1 files changed, 4 insertions, 3 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 1105a3f4c..d9e25578c 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
@@ -42,6 +42,7 @@ public class LoggerFormatTest extends BaseApiTest {
private final static String logChecker = System.getProperty("EELF_LOG_CHECKER", "http://my-logchecker:8888/validate");
private final Logger logger = LogManager.getLogger(LoggerFormatTest.class);
+ private final int PRIORITY_LAST = 999;
public enum LogName {
audit2019, error, metrics2019
@@ -57,7 +58,7 @@ public class LoggerFormatTest extends BaseApiTest {
SimulatorApi.registerExpectationFromPreset(new PresetAAIGetSubscribersGet(), SimulatorApi.RegistrationStrategy.CLEAR_THEN_SET);
}
- @Test
+ @Test(priority = PRIORITY_LAST)
public void validateAudit2019LogsFormat() {
String logLines = validateLogsFormat(LogName.audit2019, "audit-ELS-2019.11");
moreValidationsForAuditFormat(logLines);
@@ -80,12 +81,12 @@ public class LoggerFormatTest extends BaseApiTest {
});
}
- @Test(enabled = false) // no total-score is returned for error-log
+ @Test(priority = PRIORITY_LAST, enabled = false) // no total-score is returned for error-log
public void validateErrorLogsFormat() {
validateLogsFormat(LogName.error);
}
- @Test
+ @Test(priority = PRIORITY_LAST)
public void validateMetrics2019LogsFormat() {
validateLogsFormat(LogName.metrics2019, "metric-ELS-2019.11");
}