Flaky Test Fix: TestSink [VAULT-720] (#10086)
* fixed * test sink fix * remove print statements used for debugging * remove print statements used for debugging Co-authored-by: HridoyRoy <hridoyroy@Hridoys-MacBook-Pro.local> Co-authored-by: HridoyRoy <hridoyroy@Hridoys-MBP.hitronhub.home>
This commit is contained in:
parent
a161fc7047
commit
27d68e7df2
|
@ -48,9 +48,10 @@ func TestSinkServer(t *testing.T) {
|
|||
defer timer.Stop()
|
||||
|
||||
select {
|
||||
case <-ctx.Done():
|
||||
case err := <-errCh:
|
||||
t.Fatal(err)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
}
|
||||
|
||||
for _, path := range []string{path1, path2} {
|
||||
|
|
Loading…
Reference in a new issue