functional-tester: increase lease TTL

increasing lease TTL ensure that lease doesn't expire during hashes stabilization period.
I observed that it can take a long time for etcd cluster to become stable.
release-3.1
fanmin shi 2016-10-26 10:24:09 -07:00
parent c58ae95429
commit 1dc60bb97e
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ import (
const (
// time to live for lease
TTL = 30
TTL = 120
// leasesStressRoundPs indicates the rate that leaseStresser.run() creates and deletes leases per second
leasesStressRoundPs = 1
)