mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
pkg/fileutil: fix TestPurgeFile
It needs to wait longer for file to be detected and removed sometimes.
This commit is contained in:
parent
44fda7985a
commit
107263ef9f
@ -45,7 +45,7 @@ func TestPurgeFile(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
time.Sleep(2 * time.Millisecond)
|
||||
time.Sleep(10 * time.Millisecond)
|
||||
}
|
||||
fnames, err := ReadDir(dir)
|
||||
if err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user