Increase timeout in e2e test

This commit is contained in:
Preetha Appan 2019-01-03 11:22:21 -06:00
parent 8078cb79f0
commit d182c0f5cd
No known key found for this signature in database
GPG key ID: 9F7C19990A50EAFC

View file

@ -50,7 +50,7 @@ func RegisterAndWaitForAllocs(f *framework.F, nomadClient *api.Client, jobFile s
// Look for allocations
allocs, _, _ := jobs.Allocations(*job.ID, false, nil)
return allocs
}, 10*time.Second, time.Second).ShouldNot(BeEmpty())
}, 20*time.Second, time.Second).ShouldNot(BeEmpty())
allocs, _, err := jobs.Allocations(*job.ID, false, nil)
require.Nil(err)