Skip to content

Commit

Permalink
wip hardcode arm
Browse files Browse the repository at this point in the history
  • Loading branch information
jzelinskie committed Jul 14, 2023
1 parent 23621f2 commit 84ab074
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions internal/testserver/datastore/crdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ func RunCRDBForTesting(t testing.TB, bridgeNetworkName string) RunningEngineForT
name := fmt.Sprintf("crds-%s", uuid.New().String())
resource, err := pool.RunWithOptions(&dockertest.RunOptions{
Name: name,
Platform: "linux/arm64",
Repository: "cockroachdb/cockroach",
Tag: CRDBTestVersionTag,
Cmd: []string{"start-single-node", "--insecure", "--max-offset=50ms"},
Expand Down
1 change: 1 addition & 0 deletions internal/testserver/datastore/mysql.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ func RunMySQLForTestingWithOptions(t testing.TB, options MySQLTesterOptions, bri
resource, err := pool.RunWithOptions(&dockertest.RunOptions{
Name: name,
Repository: "mysql",
Platform: "linux/arm64",
Tag: containerImageTag,
Env: []string{"MYSQL_ROOT_PASSWORD=secret"},
ExposedPorts: []string{mysqlPortPair},
Expand Down

0 comments on commit 84ab074

Please sign in to comment.