Monitoring index name resolver test awaits fix

This commit moves an awaits fix from
MonitoringIndexNameResolverTestCase#testResolver to
MonitoringIndexNameResolverTestCase#testSource as the previous commit
elastic/x-pack@98e76642ea marked the incorrect test as
awaits fix.

Original commit: elastic/x-pack-elasticsearch@62e9aaa628
This commit is contained in:
Jason Tedor 2016-07-14 19:52:00 -04:00
parent 3c0e83990b
commit 29387eab21
1 changed files with 2 additions and 2 deletions

View File

@ -123,6 +123,8 @@ public abstract class MonitoringIndexNameResolverTestCase<M extends MonitoringDo
}
@SuppressWarnings("unchecked")
// norelease
@AwaitsFix(bugUrl = "https://github.com/elastic/x-plugins/issues/2825;https://github.com/elastic/x-plugins/issues/2826")
public void testSource() throws IOException {
MonitoringIndexNameResolver resolver = newResolver();
BytesReference source = resolver.source(newMonitoringDoc(), randomFrom(XContentType.values()));
@ -133,8 +135,6 @@ public abstract class MonitoringIndexNameResolverTestCase<M extends MonitoringDo
}
@SuppressWarnings("unchecked")
// norelease
@AwaitsFix(bugUrl = "https://github.com/elastic/x-plugins/issues/2825;https://github.com/elastic/x-plugins/issues/2826")
public void testResolver() {
MonitoringIndexNameResolver resolver = newResolver();
assertThat(resolver, notNullValue());