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:
parent
3c0e83990b
commit
29387eab21
|
@ -123,6 +123,8 @@ public abstract class MonitoringIndexNameResolverTestCase<M extends MonitoringDo
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
@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 {
|
public void testSource() throws IOException {
|
||||||
MonitoringIndexNameResolver resolver = newResolver();
|
MonitoringIndexNameResolver resolver = newResolver();
|
||||||
BytesReference source = resolver.source(newMonitoringDoc(), randomFrom(XContentType.values()));
|
BytesReference source = resolver.source(newMonitoringDoc(), randomFrom(XContentType.values()));
|
||||||
|
@ -133,8 +135,6 @@ public abstract class MonitoringIndexNameResolverTestCase<M extends MonitoringDo
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
// norelease
|
|
||||||
@AwaitsFix(bugUrl = "https://github.com/elastic/x-plugins/issues/2825;https://github.com/elastic/x-plugins/issues/2826")
|
|
||||||
public void testResolver() {
|
public void testResolver() {
|
||||||
MonitoringIndexNameResolver resolver = newResolver();
|
MonitoringIndexNameResolver resolver = newResolver();
|
||||||
assertThat(resolver, notNullValue());
|
assertThat(resolver, notNullValue());
|
||||||
|
|
Loading…
Reference in New Issue