You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2019/01/14 23:38:33 UTC

[incubator-pinot] Diff for: [GitHub] akshayrai merged pull request #3688: [TE] Order the create and update tests of detection alert config

diff --git a/thirdeye/thirdeye-pinot/src/test/java/org/apache/pinot/thirdeye/detection/yaml/YamlResourceTest.java b/thirdeye/thirdeye-pinot/src/test/java/org/apache/pinot/thirdeye/detection/yaml/YamlResourceTest.java
index 90caaaa306..e5f59a23b8 100644
--- a/thirdeye/thirdeye-pinot/src/test/java/org/apache/pinot/thirdeye/detection/yaml/YamlResourceTest.java
+++ b/thirdeye/thirdeye-pinot/src/test/java/org/apache/pinot/thirdeye/detection/yaml/YamlResourceTest.java
@@ -39,7 +39,7 @@ void afterClass() {
     testDAOProvider.cleanup();
   }
 
-  @Test
+  @Test(priority=1)
   public void testCreateDetectionAlertConfig() throws IOException {
     Map<String, String> responseMessage = new HashMap<>();
     DetectionAlertConfigDTO alertDTO;
@@ -91,7 +91,7 @@ public void testCreateDetectionAlertConfig() throws IOException {
     Assert.assertEquals(alertDTO.getName(), "Subscription Group Name");
   }
 
-  @Test
+  @Test(priority=2)
   public void testUpdateDetectionAlertConfig() throws IOException {
     DetectionAlertConfigDTO oldAlertDTO = new DetectionAlertConfigDTO();
     oldAlertDTO.setName("Subscription Group Name");


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org