Set instance count to 20 to allow scheduling of SLA aware jobs

Addtional changes include update settings to `10` instances and increasing
`go test` _timeout_ to `15m`.
This commit is contained in:
Robert Allen 2018-12-20 11:20:29 -06:00
parent 9ed7690de1
commit 01fec6e124
5 changed files with 86 additions and 17 deletions

6
job.go
View file

@ -56,7 +56,7 @@ type Job interface {
MaxFailure(maxFail int32) Job
Container(container Container) Job
PartitionPolicy(policy *aurora.PartitionPolicy) Job
Tier(tier *string) Job
Tier(tier string) Job
SlaPolicy(policy *aurora.SlaPolicy) Job
}
@ -326,8 +326,8 @@ func (j *AuroraJob) PartitionPolicy(policy *aurora.PartitionPolicy) Job {
}
// Set the Tier for the Job.
func (j *AuroraJob) Tier(tier *string) Job {
j.jobConfig.TaskConfig.Tier = tier
func (j *AuroraJob) Tier(tier string) Job {
j.jobConfig.TaskConfig.Tier = &tier
return j
}