Skip to content

Commit 0ac9689

Browse files
authored
Presto: Bump default Presto version (used in deprecated constructor and unversioned JDBC URL) from 329 to 344 (#3312)
1 parent b94da0a commit 0ac9689

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

docs/modules/databases/jdbc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Insert `tc:` after `jdbc:` as follows. Note that the hostname, port and database
4141

4242
#### Using Presto
4343

44-
`jdbc:tc:presto:329://localhost/memory/default`
44+
`jdbc:tc:presto:344://localhost/memory/default`
4545

4646
### Using a classpath init script
4747

modules/presto/src/main/java/org/testcontainers/containers/PrestoContainer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public class PrestoContainer<SELF extends PrestoContainer<SELF>> extends JdbcDat
1818
public static final String NAME = "presto";
1919
private static final DockerImageName DEFAULT_IMAGE_NAME = DockerImageName.parse("prestosql/presto");
2020
public static final String IMAGE = "prestosql/presto";
21-
public static final String DEFAULT_TAG = "329";
21+
public static final String DEFAULT_TAG = "344";
2222

2323
public static final Integer PRESTO_PORT = 8080;
2424

modules/presto/src/test/java/org/testcontainers/PrestoTestImages.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
import org.testcontainers.utility.DockerImageName;
44

55
public interface PrestoTestImages {
6-
DockerImageName PRESTO_TEST_IMAGE = DockerImageName.parse("prestosql/presto:329");
7-
DockerImageName PRESTO_PREVIOUS_VERSION_TEST_IMAGE = DockerImageName.parse("prestosql/presto:328");
6+
DockerImageName PRESTO_TEST_IMAGE = DockerImageName.parse("prestosql/presto:344");
7+
DockerImageName PRESTO_PREVIOUS_VERSION_TEST_IMAGE = DockerImageName.parse("prestosql/presto:343");
88
}

modules/presto/src/test/java/org/testcontainers/jdbc/presto/PrestoJDBCDriverTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public class PrestoJDBCDriverTest extends AbstractJDBCDriverTest {
1515
public static Iterable<Object[]> data() {
1616
return asList(
1717
new Object[][]{
18-
{"jdbc:tc:presto:329://hostname/", EnumSet.of(Options.PmdKnownBroken)},
18+
{"jdbc:tc:presto:344://hostname/", EnumSet.of(Options.PmdKnownBroken)},
1919
});
2020
}
2121
}

0 commit comments

Comments
 (0)