mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-25 22:36:20 +00:00
Tests: Add @AwaitsFix annotation to flaky tests
These contribute to unstable builds, and should be reenabled on a case by case base and worked on. Original commit: elastic/x-pack-elasticsearch@a15338415a
This commit is contained in:
parent
56b0f28aa3
commit
d4cddc12d0
@ -148,6 +148,7 @@ public class BootStrapTests extends AbstractWatcherIntegrationTestCase {
|
||||
assertThat(response.getWatchesCount(), equalTo(1L));
|
||||
}
|
||||
|
||||
@AwaitsFix(bugUrl = "https://github.com/elastic/x-pack-elasticsearch/issues/1915")
|
||||
public void testLoadExistingWatchesUponStartup() throws Exception {
|
||||
ensureWatcherStarted();
|
||||
stopWatcher();
|
||||
@ -226,6 +227,7 @@ public class BootStrapTests extends AbstractWatcherIntegrationTestCase {
|
||||
assertSingleExecutionAndCompleteWatchHistory(numWatches, numRecords);
|
||||
}
|
||||
|
||||
@AwaitsFix(bugUrl = "https://github.com/elastic/x-pack-elasticsearch/issues/3437")
|
||||
public void testTriggeredWatchLoading() throws Exception {
|
||||
createIndex("output");
|
||||
client().prepareIndex("my-index", "foo", "bar")
|
||||
|
@ -7,6 +7,7 @@ package org.elasticsearch.smoketest;
|
||||
|
||||
import org.apache.http.entity.ContentType;
|
||||
import org.apache.http.entity.StringEntity;
|
||||
import org.apache.lucene.util.LuceneTestCase.AwaitsFix;
|
||||
import org.elasticsearch.client.Response;
|
||||
import org.elasticsearch.common.xcontent.XContentType;
|
||||
import org.elasticsearch.test.junit.annotations.TestLogging;
|
||||
@ -28,6 +29,7 @@ import static org.elasticsearch.xpack.watcher.trigger.schedule.IntervalSchedule.
|
||||
import static org.hamcrest.Matchers.is;
|
||||
|
||||
@TestLogging("org.elasticsearch.client:TRACE,tracer:TRACE")
|
||||
@AwaitsFix(bugUrl = "https://github.com/elastic/x-pack-elasticsearch/issues/2920")
|
||||
public class MonitoringWithWatcherRestIT extends ESRestTestCase {
|
||||
|
||||
@After
|
||||
|
Loading…
x
Reference in New Issue
Block a user