test/integration: bump (another) cert expiration delta to help flake
Related: 553b519
.
Signed-off-by: Andrew Keesler <akeesler@vmware.com>
This commit is contained in:
parent
553b519d0f
commit
224b59e740
@ -69,7 +69,7 @@ func TestClient(t *testing.T) {
|
||||
resp, err := client.ExchangeToken(ctx, tmcClusterToken, string(clientConfig.CAData), clientConfig.Host)
|
||||
require.NoError(t, err)
|
||||
require.NotNil(t, resp.ExpirationTimestamp)
|
||||
require.InDelta(t, time.Until(*resp.ExpirationTimestamp), 1*time.Hour, float64(5*time.Second))
|
||||
require.InDelta(t, time.Until(*resp.ExpirationTimestamp), 1*time.Hour, float64(3*time.Minute))
|
||||
|
||||
// Create a client using the certificate and key returned by the token exchange.
|
||||
validClient := library.NewClientsetWithConfig(t, library.NewClientConfigWithCertAndKey(t, resp.ClientCertificateData, resp.ClientKeyData))
|
||||
|
Loading…
Reference in New Issue
Block a user