diff --git a/.github/workflows/skywalking.yaml b/.github/workflows/skywalking.yaml index 001aa30baeb2df4a63db257c406ab3066279eb39..bac0294f6bd76fc2bda0d0f438f16fd2572451ec 100644 --- a/.github/workflows/skywalking.yaml +++ b/.github/workflows/skywalking.yaml @@ -29,7 +29,7 @@ env: SW_AGENT_JDK_VERSION: 8 MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 SEGMENT_DOWNLOAD_TIMEOUT_MINS: 5 # Cache restore timeout - + jobs: license-header: if: (github.event_name == 'schedule' && github.repository == 'apache/skywalking') || (github.event_name != 'schedule') @@ -370,12 +370,12 @@ jobs: - name: Storage OpenSearch 1.1.0 config: test/e2e-v2/cases/storage/opensearch/e2e.yaml env: OPENSEARCH_VERSION=1.1.0 - - name: Storage OpenSearch 1.2.0 + - name: Storage OpenSearch 1.3.6 config: test/e2e-v2/cases/storage/opensearch/e2e.yaml - env: OPENSEARCH_VERSION=1.2.0 - - name: Storage OpenSearch 2.3.0 + env: OPENSEARCH_VERSION=1.3.6 + - name: Storage OpenSearch 2.4.0 config: test/e2e-v2/cases/storage/opensearch/e2e.yaml - env: OPENSEARCH_VERSION=2.3.0 + env: OPENSEARCH_VERSION=2.4.0 - name: Storage ES Sharding config: test/e2e-v2/cases/storage/es/es-sharding/e2e.yaml @@ -480,9 +480,12 @@ jobs: - name: Trace Profiling OpenSearch 1.1.0 config: test/e2e-v2/cases/profiling/trace/opensearch/e2e.yaml env: OPENSEARCH_VERSION=1.1.0 - - name: Trace Profiling OpenSearch 1.2.0 + - name: Trace Profiling OpenSearch 1.3.6 + config: test/e2e-v2/cases/profiling/trace/opensearch/e2e.yaml + env: OPENSEARCH_VERSION=1.3.6 + - name: Trace Profiling OpenSearch 2.4.0 config: test/e2e-v2/cases/profiling/trace/opensearch/e2e.yaml - env: OPENSEARCH_VERSION=1.2.0 + env: OPENSEARCH_VERSION=2.4.0 - name: eBPF Profiling On CPU BanyanDB config: test/e2e-v2/cases/profiling/ebpf/oncpu/banyandb/e2e.yaml @@ -501,9 +504,12 @@ jobs: - name: eBPF Profiling On CPU OpenSearch 1.1.0 config: test/e2e-v2/cases/profiling/ebpf/oncpu/opensearch/e2e.yaml env: OPENSEARCH_VERSION=1.1.0 - - name: eBPF Profiling On CPU OpenSearch 1.2.0 + - name: eBPF Profiling On CPU OpenSearch 1.3.6 + config: test/e2e-v2/cases/profiling/ebpf/oncpu/opensearch/e2e.yaml + env: OPENSEARCH_VERSION=1.3.6 + - name: eBPF Profiling On CPU OpenSearch 2.4.0 config: test/e2e-v2/cases/profiling/ebpf/oncpu/opensearch/e2e.yaml - env: OPENSEARCH_VERSION=1.2.0 + env: OPENSEARCH_VERSION=2.4.0 - name: eBPF Profiling Off CPU config: test/e2e-v2/cases/profiling/ebpf/offcpu/e2e.yaml - name: eBPF Profiling Network diff --git a/oap-server/server-library/library-elasticsearch-client/src/test/java/org/apache/skywalking/library/elasticsearch/ITElasticSearchTest.java b/oap-server/server-library/library-elasticsearch-client/src/test/java/org/apache/skywalking/library/elasticsearch/ITElasticSearchTest.java index d171afbb8c7f9cca212830024ee1336cb80aeb4e..6190aea109a136e3397a01c502fd3a42f6954a6c 100644 --- a/oap-server/server-library/library-elasticsearch-client/src/test/java/org/apache/skywalking/library/elasticsearch/ITElasticSearchTest.java +++ b/oap-server/server-library/library-elasticsearch-client/src/test/java/org/apache/skywalking/library/elasticsearch/ITElasticSearchTest.java @@ -104,6 +104,16 @@ public class ITElasticSearchTest { "docker.elastic.co/elasticsearch/elasticsearch-oss")) .withEnv("plugins.security.disabled", "true") .withStartupTimeout(java.time.Duration.ofMinutes(5)) + }, + { + "OpenSearch 2.4.0", + new ElasticsearchContainer( + DockerImageName.parse("opensearchproject/opensearch") + .withTag("2.4.0") + .asCompatibleSubstituteFor( + "docker.elastic.co/elasticsearch/elasticsearch-oss")) + .withEnv("plugins.security.disabled", "true") + .withStartupTimeout(java.time.Duration.ofMinutes(5)) } }); }