mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-18 08:09:58 +00:00
Merge pull request #84140 from leakingtapan/timeout
make ClaimProvisionTimeout a var
This commit is contained in:
commit
7129923e33
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user