Skip to content

Commit

Permalink
Fix TestORBSLAMDataProcess timeout (#1484)
Browse files Browse the repository at this point in the history
  • Loading branch information
tessavitabile authored Oct 12, 2022
1 parent ad9503b commit b80b94a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions services/slam/builtin/builtin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@ func TestCartographerDataProcess(t *testing.T) {
}()

cancelCtx, cancelFunc := context.WithCancel(context.Background())
c := make(chan int)
c := make(chan int, 100)
slamSvc.StartDataProcess(cancelCtx, cams, camStreams, c)

<-c
Expand All @@ -698,7 +698,7 @@ func TestCartographerDataProcess(t *testing.T) {
}()

cancelCtx, cancelFunc := context.WithCancel(context.Background())
c := make(chan int)
c := make(chan int, 100)
slamSvc.StartDataProcess(cancelCtx, cams, camStreams, c)

<-c
Expand Down Expand Up @@ -764,7 +764,7 @@ func TestORBSLAMDataProcess(t *testing.T) {

cancelCtx, cancelFunc := context.WithCancel(context.Background())

c := make(chan int)
c := make(chan int, 100)
slamSvc.StartDataProcess(cancelCtx, cams, camStreams, c)

<-c
Expand All @@ -788,7 +788,7 @@ func TestORBSLAMDataProcess(t *testing.T) {
}()

cancelCtx, cancelFunc := context.WithCancel(context.Background())
c := make(chan int)
c := make(chan int, 100)
slamSvc.StartDataProcess(cancelCtx, cams, camStreams, c)

<-c
Expand Down

0 comments on commit b80b94a

Please sign in to comment.