it is a naiive thing

main
Bel LaPointe 2023-11-06 05:49:26 -07:00
parent 1a586de656
commit 071935f0f3
1 changed files with 2 additions and 2 deletions

View File

@ -58,12 +58,12 @@ func TestReplicatorStream(t *testing.T) {
wg := &sync.WaitGroup{}
wg.Add(1)
go func() {
go func(t *testing.T) {
defer wg.Done()
if err := replicator.Stream(ctx); err != nil && !errors.Is(err, ctx.Err()) {
t.Fatal(err)
}
}()
}(t)
if c.during != nil {
c.during(t, replicator)
}