mirror of https://github.com/pulumi/pulumi.git
e6cc299d86
deploytest.ResourceMonitor currently zeroes out any custom timeout value smaller than 60 seconds because it does integer division on it. Further, it alawys uses a non-nil CustomTimeouts even when the input was nil. This causes undesirable breaks in unit tests that use this type. This change fixes both issues in CustomTimeouts. Now: - The RegisterResourceRequest.CustomTimeouts field is non-nil only if the input CustomTimeouts was non-nil - time.Duration and float divison is used to accurately format the specified duration as a string |
||
---|---|---|
.. | ||
analyzer | ||
deploy | ||
edit | ||
graph | ||
provider | ||
stack | ||
testdata |