Use test docker image in e2e tests
The TestCreateOrUpdateEnvironment function would previously use the python:latest Docker image in its execution environment request. However, this lead to pull rate limiting by Docker Hub in our CI.
This commit is contained in:

committed by
Tobias Kantusch

parent
fe240c82b4
commit
91537a7364
@ -15,10 +15,6 @@ import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
const (
|
||||
dockerImage = "python:latest"
|
||||
)
|
||||
|
||||
func TestCreateOrUpdateEnvironment(t *testing.T) {
|
||||
path := helpers.BuildURL(api.BasePath, api.EnvironmentsPath, tests.AnotherEnvironmentIDAsString)
|
||||
|
||||
@ -34,7 +30,7 @@ func TestCreateOrUpdateEnvironment(t *testing.T) {
|
||||
PrewarmingPoolSize: 1,
|
||||
CPULimit: 100,
|
||||
MemoryLimit: 100,
|
||||
Image: dockerImage,
|
||||
Image: *testDockerImage,
|
||||
NetworkAccess: false,
|
||||
ExposedPorts: nil,
|
||||
}
|
||||
|
Reference in New Issue
Block a user