Fix e2e test exhausted cpu

by decreasing the reservation amount.
This commit is contained in:
Maximilian Paß
2022-10-25 11:56:48 +01:00
committed by Sebastian Serth
parent b1027a907d
commit 939f36dac6
2 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ func createDefaultEnvironment() {
defaultNomadEnvironment = dto.ExecutionEnvironmentRequest{
PrewarmingPoolSize: 10,
CPULimit: 100,
CPULimit: 20,
MemoryLimit: 100,
Image: *testDockerImage,
NetworkAccess: false,

View File

@ -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,