Skip to content

Commit

Permalink
fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
lizhou1111 committed Jul 4, 2024
1 parent b54976c commit 1e57c4f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ public class TimeplusContainer extends JdbcDatabaseContainer<TimeplusContainer>
public static final String NAME = "timeplus";

private static final DockerImageName DEFAULT_IMAGE_NAME = DockerImageName.parse(
"ghcr.io/timeplus-io/proton:latest"
"timeplus/timeplusd:2.2.10"
);

private static final DockerImageName TIMEPLUS_IMAGE_NAME = DockerImageName.parse(
"ghcr.io/timeplus-io/proton:latest"
"timeplus/timeplusd:2.3.3"
);

@Deprecated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class TimeplusContainer extends JdbcDatabaseContainer<TimeplusContainer>
private static final String NAME = "timeplus";

private static final DockerImageName TIMEPLUS_IMAGE_NAME = DockerImageName.parse(
"ghcr.io/timeplus-io/proton:latest"
"timeplus/timeplusd:2.3.3"
);

private static final Integer HTTP_PORT = 3128;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
import org.testcontainers.utility.DockerImageName;

public interface TimeplusTestImages {
DockerImageName TIMEPLUS_PROTON_IMAGE = DockerImageName.parse("ghcr.io/timeplus-io/proton:latest");
DockerImageName TIMEPLUS_IMAGE = DockerImageName.parse("ghcr.io/timeplus-io/proton:latest");
DockerImageName TIMEPLUS_PROTON_IMAGE = DockerImageName.parse("timeplus/timeplusd:2.2.10");
DockerImageName TIMEPLUS_IMAGE = DockerImageName.parse("timeplus/timeplusd:2.3.3");
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class TimeplusContainerTest extends AbstractContainerDatabaseTest {

@Test
public void testSimple() throws SQLException {
try (TimeplusContainer timeplus = new TimeplusContainer("ghcr.io/timeplus-io/proton:latest")) {
try (TimeplusContainer timeplus = new TimeplusContainer("timeplus/timeplusd:2.3.3")) {
timeplus.start();

ResultSet resultSet = performQuery(timeplus, "SELECT 1");
Expand All @@ -25,7 +25,7 @@ public void testSimple() throws SQLException {
@Test
public void customCredentialsWithUrlParams() throws SQLException {
try (
TimeplusContainer timeplus = new TimeplusContainer("ghcr.io/timeplus-io/proton:latest")
TimeplusContainer timeplus = new TimeplusContainer("timeplus/timeplusd:2.3.3")
.withUsername("test")
.withPassword("test")
.withDatabaseName("test")
Expand Down

0 comments on commit 1e57c4f

Please sign in to comment.