Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
Signed-off-by: Sidhant Kohli <[email protected]>
  • Loading branch information
Sidhant Kohli committed Jul 2, 2024
1 parent f3cc8d6 commit 2e02e6c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkg/batchmapper/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,13 @@ func TestService_MapFnStream(t *testing.T) {

wg.Add(1)
go func() {
defer func() {
f := recover()
if f != nil {
err = fmt.Errorf("got a panic")
wg.Done()
}
}()
defer wg.Done()
err = fs.BatchMapFn(udfBatchMapFnStream)
close(outputCh)
Expand Down

0 comments on commit 2e02e6c

Please sign in to comment.