Refactor bufio

This commit is contained in:
世界
2022-08-11 23:59:22 +08:00
parent c9226aeaaf
commit 97870c9288
14 changed files with 46 additions and 45 deletions

View File

@@ -23,14 +23,13 @@ func startInstance(t *testing.T, options option.Options) {
require.NoError(t, err)
err = instance.Start()
if err != nil {
time.Sleep(5 * time.Millisecond)
time.Sleep(time.Second)
continue
}
break
}
require.NoError(t, err)
t.Cleanup(func() {
time.Sleep(500 * time.Millisecond)
instance.Close()
})
}