Fix flaky test (#567)

This commit is contained in:
John Maguire
2021-11-04 15:49:56 -04:00
committed by GitHub
parent eb66e13dc4
commit 0577c097fb

View File

@ -72,7 +72,7 @@ func Test_verify(t *testing.T) {
Details: cert.NebulaCertificateDetails{
Name: "test-ca",
NotBefore: time.Now().Add(time.Hour * -1),
NotAfter: time.Now().Add(time.Hour),
NotAfter: time.Now().Add(time.Hour * 2),
PublicKey: caPub,
IsCA: true,
},