Tests: Increase logging for GetWatchTests
In order to get more insights into a specific test failure, that we suppose to be in core, increase search logging to debug level. Relates elastic/x-pack-elasticsearch#3854 Original commit: elastic/x-pack-elasticsearch@5c37535e03
This commit is contained in:
parent
fb8adb4a1c
commit
98e9365aa1
|
@ -7,6 +7,7 @@ package org.elasticsearch.xpack.watcher.transport.action.get;
|
|||
|
||||
import org.elasticsearch.action.admin.indices.get.GetIndexResponse;
|
||||
import org.elasticsearch.index.IndexNotFoundException;
|
||||
import org.elasticsearch.test.junit.annotations.TestLogging;
|
||||
import org.elasticsearch.xpack.core.watcher.support.xcontent.XContentSource;
|
||||
import org.elasticsearch.xpack.core.watcher.transport.actions.get.GetWatchRequest;
|
||||
import org.elasticsearch.xpack.core.watcher.transport.actions.get.GetWatchResponse;
|
||||
|
@ -29,6 +30,8 @@ import static org.hamcrest.Matchers.not;
|
|||
import static org.hamcrest.Matchers.notNullValue;
|
||||
import static org.hamcrest.Matchers.nullValue;
|
||||
|
||||
// added due to https://github.com/elastic/x-pack-elasticsearch/issues/3854
|
||||
@TestLogging("org.elasticsearch.action.search:DEBUG")
|
||||
public class GetWatchTests extends AbstractWatcherIntegrationTestCase {
|
||||
|
||||
public void testGet() throws Exception {
|
||||
|
|
Loading…
Reference in New Issue