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@793ad494d3
This commit is contained in:
parent
56be936ace
commit
30eab329a1
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue