Add delay in test.

This commit is contained in:
Mariano Cano 2020-08-03 19:01:15 -07:00
parent 342cb713ee
commit 37f84e9bb3

View file

@ -659,7 +659,7 @@ func Test_profileDefaultDuration_Option(t *testing.T) {
t.Run(name, func(t *testing.T) {
tt := run()
assert.FatalError(t, tt.pdd.Modify(tt.cert, tt.so), "unexpected error")
time.Sleep(1 * time.Nanosecond)
time.Sleep(100 * time.Millisecond)
tt.valid(tt.cert)
})
}