Disable `HipChatServiceTests` integration tests

This is related to elastic/x-pack-elasticsearch#2429. These tests are currently disabled due to
calls to the hipchat integration api failing. There is an open infra
issue for this (elastic/infra#2726).

Original commit: elastic/x-pack-elasticsearch@4aa9fe0387
This commit is contained in:
Tim Brooks 2017-09-05 11:13:39 -06:00
parent c73d70491a
commit 84a47e2690
1 changed files with 6 additions and 0 deletions

View File

@ -5,6 +5,7 @@
*/
package org.elasticsearch.xpack.watcher.test.integration;
import org.apache.lucene.util.LuceneTestCase;
import org.elasticsearch.ExceptionsHelper;
import org.elasticsearch.action.search.SearchResponse;
import org.elasticsearch.common.settings.Settings;
@ -65,6 +66,7 @@ public class HipChatServiceTests extends AbstractWatcherIntegrationTestCase {
.build();
}
@LuceneTestCase.AwaitsFix(bugUrl = "https://github.com/elastic/infra/issues/2726")
public void testSendMessageV1Account() throws Exception {
HipChatService service = getInstanceFromMaster(HipChatService.class);
HipChatMessage hipChatMessage = new HipChatMessage(
@ -82,6 +84,7 @@ public class HipChatServiceTests extends AbstractWatcherIntegrationTestCase {
assertSentMessagesAreValid(2, messages);
}
@LuceneTestCase.AwaitsFix(bugUrl = "https://github.com/elastic/infra/issues/2726")
public void testSendMessageIntegrationAccount() throws Exception {
HipChatService service = getInstanceFromMaster(HipChatService.class);
HipChatMessage.Color color = randomFrom(HipChatMessage.Color.values());
@ -100,6 +103,7 @@ public class HipChatServiceTests extends AbstractWatcherIntegrationTestCase {
assertSentMessagesAreValid(1, messages);
}
@LuceneTestCase.AwaitsFix(bugUrl = "https://github.com/elastic/infra/issues/2726")
public void testSendMessageUserAccount() throws Exception {
HipChatService service = getInstanceFromMaster(HipChatService.class);
HipChatMessage.Color color = randomFrom(HipChatMessage.Color.values());
@ -118,6 +122,7 @@ public class HipChatServiceTests extends AbstractWatcherIntegrationTestCase {
assertSentMessagesAreValid(3, messages);
}
@LuceneTestCase.AwaitsFix(bugUrl = "https://github.com/elastic/infra/issues/2726")
public void testWatchWithHipChatAction() throws Exception {
HipChatAccount.Profile profile = randomFrom(HipChatAccount.Profile.values());
HipChatMessage.Color color = randomFrom(HipChatMessage.Color.values());
@ -180,6 +185,7 @@ public class HipChatServiceTests extends AbstractWatcherIntegrationTestCase {
assertThat(response.getHits().getTotalHits(), is(1L));
}
@LuceneTestCase.AwaitsFix(bugUrl = "https://github.com/elastic/infra/issues/2726")
public void testDefaultValuesForColorAndFormatWorks() {
HipChatService service = getInstanceFromMaster(HipChatService.class);
HipChatMessage hipChatMessage = new HipChatMessage(