Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
upgrade to ES 7.10.2 (#378)
Browse files Browse the repository at this point in the history
  • Loading branch information
ylwu-amzn authored Feb 1, 2021
1 parent 38cb557 commit 8042704
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import org.elasticsearch.gradle.test.RestIntegTestTask
buildscript {
ext {
es_group = "org.elasticsearch"
es_version = '7.10.0'
es_version = '7.10.2'
}

repositories {
Expand Down Expand Up @@ -47,7 +47,7 @@ repositories {
}

ext {
opendistroVersion = '1.12.0'
opendistroVersion = '1.13.0'
isSnapshot = "true" == System.getProperty("build.snapshot", "true")
}

Expand Down Expand Up @@ -354,8 +354,8 @@ checkstyle {
dependencies {
compile "org.elasticsearch:elasticsearch:${es_version}"
compileOnly "org.elasticsearch.plugin:elasticsearch-scripting-painless-spi:${versions.elasticsearch}"
compileOnly "com.amazon.opendistroforelasticsearch:opendistro-job-scheduler-spi:1.12.0.0"
compile "com.amazon.opendistroforelasticsearch:common-utils:1.12.0.2"
compileOnly "com.amazon.opendistroforelasticsearch:opendistro-job-scheduler-spi:${opendistroVersion}.0"
compile "com.amazon.opendistroforelasticsearch:common-utils:${opendistroVersion}.0"
compile group: 'com.google.guava', name: 'guava', version:'29.0-jre'
compile group: 'org.apache.commons', name: 'commons-math3', version: '3.6.1'
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.6'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
import com.amazon.opendistroforelasticsearch.ad.model.DetectionDateRange;
import com.amazon.opendistroforelasticsearch.ad.stats.StatNames;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSet;

@ESIntegTestCase.ClusterScope(scope = ESIntegTestCase.Scope.TEST, numDataNodes = 2)
Expand Down Expand Up @@ -299,6 +300,7 @@ public void testStopRealtimeDetector() throws IOException {
}

public void testStopHistoricalDetector() throws IOException, InterruptedException {
updateTransientSettings(ImmutableMap.of(BATCH_TASK_PIECE_INTERVAL_SECONDS.getKey(), 5));
ADTask adTask = startHistoricalDetector(startTime, endTime);
assertEquals(ADTaskState.INIT.name(), adTask.getState());
assertNull(adTask.getStartedBy());
Expand Down
Binary file not shown.
Binary file not shown.

0 comments on commit 8042704

Please sign in to comment.