From 30eab329a102e465c6c7c0dee5c5f5dbc2aed9a6 Mon Sep 17 00:00:00 2001 From: Tanguy Leroux Date: Fri, 19 Aug 2016 16:48:44 +0200 Subject: [PATCH] Muted HipChatServiceTests These tests failed regularly. It seems that the user_account authentification token is not accepted anymore by the HipChat service that respond with a 401 HTTP code. See https://github.com/elastic/x-plugins/issues/3162 Original commit: elastic/x-pack-elasticsearch@793ad494d3f856774a2c4a50c6809f750569371f --- .../xpack/watcher/test/integration/HipChatServiceTests.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/elasticsearch/x-pack/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/HipChatServiceTests.java b/elasticsearch/x-pack/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/HipChatServiceTests.java index 28ddb602600..6168f944ab6 100644 --- a/elasticsearch/x-pack/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/HipChatServiceTests.java +++ b/elasticsearch/x-pack/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/HipChatServiceTests.java @@ -99,6 +99,7 @@ public class HipChatServiceTests extends AbstractWatcherIntegrationTestCase { assertSentMessagesAreValid(1, messages); } + @AwaitsFix(bugUrl = "https://github.com/elastic/x-plugins/issues/3162") public void testSendMessageUserAccount() throws Exception { HipChatService service = getInstanceFromMaster(HipChatService.class); HipChatMessage.Color color = randomFrom(HipChatMessage.Color.values()); @@ -117,6 +118,7 @@ public class HipChatServiceTests extends AbstractWatcherIntegrationTestCase { assertSentMessagesAreValid(3, messages); } + @AwaitsFix(bugUrl = "https://github.com/elastic/x-plugins/issues/3162") public void testWatchWithHipChatAction() throws Exception { HipChatAccount.Profile profile = randomFrom(HipChatAccount.Profile.values()); HipChatMessage.Color color = randomFrom(HipChatMessage.Color.values()); @@ -178,6 +180,7 @@ public class HipChatServiceTests extends AbstractWatcherIntegrationTestCase { assertThat(response.getHits().getTotalHits(), is(1L)); } + @AwaitsFix(bugUrl = "https://github.com/elastic/x-plugins/issues/3162") public void testDefaultValuesForColorAndFormatWorks() { HipChatService service = getInstanceFromMaster(HipChatService.class); HipChatMessage hipChatMessage = new HipChatMessage(