Skip to content

Commit

Permalink
Upgrade to latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadilipkolli committed Sep 21, 2023
1 parent ae142c9 commit 76eb470
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions boot-opensearch-sample/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@

<project.testresult.directory>${project.build.directory}/test-results</project.testresult.directory>
<spotless.version>2.39.0</spotless.version>
<dependency-check-maven.version>8.3.1</dependency-check-maven.version>
<dependency-check-maven.version>8.4.0</dependency-check-maven.version>
<properties-maven-plugin.version>1.2.0</properties-maven-plugin.version>
<sonar-maven-plugin.version>3.9.1.2184</sonar-maven-plugin.version>
<sonar-maven-plugin.version>3.10.0.2594</sonar-maven-plugin.version>
<jacoco-maven-plugin.version>0.8.10</jacoco-maven-plugin.version>
<jacoco.minimum.coverage>0.80</jacoco.minimum.coverage>
<jacoco.utReportFolder>${project.build.directory}/jacoco/test</jacoco.utReportFolder>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.example.opensearch.common;

import java.util.concurrent.TimeUnit;
import org.springframework.boot.test.context.TestConfiguration;
import org.springframework.test.context.DynamicPropertyRegistry;
import org.springframework.test.context.DynamicPropertySource;
Expand All @@ -17,6 +18,12 @@ public class ContainersConfig {

static {
openSearchContainer.start();
try {
// waiting for container to start
TimeUnit.SECONDS.sleep(30);
} catch (Exception e) {
// TODO: handle exception
}
}

@DynamicPropertySource
Expand Down

0 comments on commit 76eb470

Please sign in to comment.