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

[incubator-pinot] branch master updated: [TE] Order the create and update tests of detection alert config (#3688)

This is an automated email from the ASF dual-hosted git repository.

akshayrai09 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git


The following commit(s) were added to refs/heads/master by this push:
     new 1d6c1b0  [TE] Order the create and update tests of detection alert config (#3688)
1d6c1b0 is described below

commit 1d6c1b04a416b14a8459b41772d0b4639ec45efb
Author: Akshay Rai <ak...@gmail.com>
AuthorDate: Mon Jan 14 15:38:30 2019 -0800

    [TE] Order the create and update tests of detection alert config (#3688)
---
 .../org/apache/pinot/thirdeye/detection/yaml/YamlResourceTest.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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 90caaaa..e5f59a2 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 @@ public class YamlResourceTest {
     testDAOProvider.cleanup();
   }
 
-  @Test
+  @Test(priority=1)
   public void testCreateDetectionAlertConfig() throws IOException {
     Map<String, String> responseMessage = new HashMap<>();
     DetectionAlertConfigDTO alertDTO;
@@ -91,7 +91,7 @@ public class YamlResourceTest {
     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");


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