Fix e2e test exhausted cpu
by decreasing the reservation amount.
This commit is contained in:

committed by
Sebastian Serth

parent
b1027a907d
commit
939f36dac6
@ -106,7 +106,7 @@ func createDefaultEnvironment() {
|
||||
|
||||
defaultNomadEnvironment = dto.ExecutionEnvironmentRequest{
|
||||
PrewarmingPoolSize: 10,
|
||||
CPULimit: 100,
|
||||
CPULimit: 20,
|
||||
MemoryLimit: 100,
|
||||
Image: *testDockerImage,
|
||||
NetworkAccess: false,
|
||||
|
@ -317,7 +317,7 @@ func createEnvironment(t *testing.T, environmentID string, aws bool) {
|
||||
path := helpers.BuildURL(api.BasePath, api.EnvironmentsPath, environmentID)
|
||||
request := dto.ExecutionEnvironmentRequest{
|
||||
PrewarmingPoolSize: 1,
|
||||
CPULimit: 100,
|
||||
CPULimit: 20,
|
||||
MemoryLimit: 100,
|
||||
NetworkAccess: false,
|
||||
ExposedPorts: nil,
|
||||
|
Reference in New Issue
Block a user