mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
flaky: fix jwt test with increasing ttl
Signed-off-by: ah8ad3 <ah8ad3@gmail.com>
This commit is contained in:
parent
ddf54715bf
commit
71f7db50e7
@ -115,7 +115,7 @@ func NewConfigJWT() *EtcdProcessClusterConfig {
|
|||||||
return NewConfig(
|
return NewConfig(
|
||||||
WithClusterSize(1),
|
WithClusterSize(1),
|
||||||
WithAuthTokenOpts("jwt,pub-key="+path.Join(FixturesDir, "server.crt")+
|
WithAuthTokenOpts("jwt,pub-key="+path.Join(FixturesDir, "server.crt")+
|
||||||
",priv-key="+path.Join(FixturesDir, "server.key.insecure")+",sign-method=RS256,ttl=1s"),
|
",priv-key="+path.Join(FixturesDir, "server.key.insecure")+",sign-method=RS256,ttl=5s"),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user