forked from TrueCloudLab/certificates
Add delay in test.
This commit is contained in:
parent
342cb713ee
commit
37f84e9bb3
1 changed files with 1 additions and 1 deletions
|
@ -659,7 +659,7 @@ func Test_profileDefaultDuration_Option(t *testing.T) {
|
||||||
t.Run(name, func(t *testing.T) {
|
t.Run(name, func(t *testing.T) {
|
||||||
tt := run()
|
tt := run()
|
||||||
assert.FatalError(t, tt.pdd.Modify(tt.cert, tt.so), "unexpected error")
|
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)
|
tt.valid(tt.cert)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue