Merge pull request #84140 from leakingtapan/timeout

make ClaimProvisionTimeout a var
This commit is contained in:
Kubernetes Prow Robot 2019-10-28 11:58:45 -07:00 committed by GitHub
commit 7129923e33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -138,9 +138,6 @@ const (
// PodReadyBeforeTimeout is how long pods have to be "ready" when a test begins. // PodReadyBeforeTimeout is how long pods have to be "ready" when a test begins.
PodReadyBeforeTimeout = 5 * time.Minute PodReadyBeforeTimeout = 5 * time.Minute
// ClaimProvisionTimeout is how long claims have to become dynamically provisioned.
ClaimProvisionTimeout = 5 * time.Minute
// ClaimProvisionShortTimeout is same as `ClaimProvisionTimeout` to wait for claim to be dynamically provisioned, but shorter. // ClaimProvisionShortTimeout is same as `ClaimProvisionTimeout` to wait for claim to be dynamically provisioned, but shorter.
// Use it case by case when we are sure this timeout is enough. // Use it case by case when we are sure this timeout is enough.
ClaimProvisionShortTimeout = 1 * time.Minute ClaimProvisionShortTimeout = 1 * time.Minute
@ -178,6 +175,9 @@ const (
) )
var ( var (
// ClaimProvisionTimeout is how long claims have to become dynamically provisioned.
ClaimProvisionTimeout = 5 * time.Minute
// BusyBoxImage is the image URI of BusyBox. // BusyBoxImage is the image URI of BusyBox.
BusyBoxImage = imageutils.GetE2EImage(imageutils.BusyBox) BusyBoxImage = imageutils.GetE2EImage(imageutils.BusyBox)