Skip to content

Commit

Permalink
[test] Fix TiDBE2eITCase by updating the container version to avoid `…
Browse files Browse the repository at this point in the history
…tikv disk full` failure (apache#2402)
  • Loading branch information
lvyanquan authored Aug 18, 2023
1 parent 90ed963 commit 8098c82
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public class TiDBE2eITCase extends FlinkContainerTestEnvironment {

@ClassRule
public static final GenericContainer<?> PD =
new GenericContainer<>("pingcap/pd:v6.0.0")
new GenericContainer<>("pingcap/pd:v6.1.0")
.withExposedPorts(PD_PORT)
.withFileSystemBind("src/test/resources/docker/tidb/pd.toml", "/pd.toml")
.withCommand(
Expand All @@ -92,7 +92,7 @@ public class TiDBE2eITCase extends FlinkContainerTestEnvironment {

@ClassRule
public static final GenericContainer<?> TIKV =
new GenericContainer<>("pingcap/tikv:v6.0.0")
new GenericContainer<>("pingcap/tikv:v6.1.0")
.withExposedPorts(TIKV_PORT)
.withFileSystemBind("src/test/resources/docker/tidb/tikv.toml", "/tikv.toml")
.withCommand(
Expand All @@ -110,7 +110,7 @@ public class TiDBE2eITCase extends FlinkContainerTestEnvironment {

@ClassRule
public static final GenericContainer<?> TIDB =
new GenericContainer<>("pingcap/tidb:v6.0.0")
new GenericContainer<>("pingcap/tidb:v6.1.0")
.withExposedPorts(TIDB_PORT)
.withFileSystemBind("src/test/resources/docker/tidb/tidb.toml", "/tidb.toml")
.withCommand(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public class TiDBTestBase extends AbstractTestBase {

@ClassRule
public static final GenericContainer<?> PD =
new FixedHostPortGenericContainer<>("pingcap/pd:v6.0.0")
new FixedHostPortGenericContainer<>("pingcap/pd:v6.1.0")
.withFileSystemBind("src/test/resources/config/pd.toml", "/pd.toml")
.withFixedExposedPort(pdPort, PD_PORT_ORIGIN)
.withCommand(
Expand All @@ -92,7 +92,7 @@ public class TiDBTestBase extends AbstractTestBase {

@ClassRule
public static final GenericContainer<?> TIKV =
new FixedHostPortGenericContainer<>("pingcap/tikv:v6.0.0")
new FixedHostPortGenericContainer<>("pingcap/tikv:v6.1.0")
.withFixedExposedPort(TIKV_PORT_ORIGIN, TIKV_PORT_ORIGIN)
.withFileSystemBind("src/test/resources/config/tikv.toml", "/tikv.toml")
.withCommand(
Expand All @@ -110,7 +110,7 @@ public class TiDBTestBase extends AbstractTestBase {

@ClassRule
public static final GenericContainer<?> TIDB =
new GenericContainer<>("pingcap/tidb:v6.0.0")
new GenericContainer<>("pingcap/tidb:v6.1.0")
.withExposedPorts(TIDB_PORT)
.withFileSystemBind("src/test/resources/config/tidb.toml", "/tidb.toml")
.withCommand(
Expand Down

0 comments on commit 8098c82

Please sign in to comment.