From d2a93eb7ce63cd69f2a1faca86cc02289895dcca Mon Sep 17 00:00:00 2001 From: Yao Cheng Date: Sat, 2 Sep 2023 06:31:54 +0000 Subject: [PATCH] tests/integration: deflake TestV3AuthWithLeaseRevokeWithRootJWT Signed-off-by: Yao Cheng --- tests/framework/integration/cluster.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/framework/integration/cluster.go b/tests/framework/integration/cluster.go index 4dcfdfda4..23a5bff76 100644 --- a/tests/framework/integration/cluster.go +++ b/tests/framework/integration/cluster.go @@ -126,7 +126,7 @@ var ( ClientCertAuth: true, } - DefaultTokenJWT = fmt.Sprintf("jwt,pub-key=%s,priv-key=%s,sign-method=RS256,ttl=1s", + DefaultTokenJWT = fmt.Sprintf("jwt,pub-key=%s,priv-key=%s,sign-method=RS256,ttl=2s", testutils.MustAbsPath("../fixtures/server.crt"), testutils.MustAbsPath("../fixtures/server.key.insecure")) // UniqueNumber is used to generate unique port numbers