mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #17588 from ah8ad3/fix-flaky-jwt
flaky: fix jwt test with increasing ttl
This commit is contained in:
commit
5a53a708d8
@ -115,7 +115,7 @@ func NewConfigJWT() *EtcdProcessClusterConfig {
|
||||
return NewConfig(
|
||||
WithClusterSize(1),
|
||||
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