change to fix CI error

This commit is contained in:
nhatle 2022-07-26 11:13:04 -07:00
parent b184c4c0d2
commit 3297389b76

View file

@ -1006,7 +1006,7 @@ func TestRealisClient_FitTasks(t *testing.T) {
}
}
validCpu := cpuPerOffer / 5
validCpu := cpuPerOffer / 2
inValidCpu := cpuPerOffer + 1
gpu := int64(1)
@ -1036,7 +1036,7 @@ func TestRealisClient_FitTasks(t *testing.T) {
request: aurora.Resource{
NumCpus: &validCpu,
},
expected: 10,
expected: 4,
isError: false,
},
{
@ -1063,7 +1063,7 @@ func TestRealisClient_FitTasks(t *testing.T) {
},
},
},
expected: 5,
expected: 2,
isError: false,
},
{
@ -1082,7 +1082,7 @@ func TestRealisClient_FitTasks(t *testing.T) {
},
},
},
expected: 10,
expected: 4,
isError: false,
},
{
@ -1120,7 +1120,7 @@ func TestRealisClient_FitTasks(t *testing.T) {
},
},
},
expected: 5,
expected: 2,
isError: false,
},
{
@ -1177,7 +1177,7 @@ func TestRealisClient_FitTasks(t *testing.T) {
},
},
},
expected: 10,
expected: 4,
isError: false,
},
{