From b80b94ade5c5f171f9e6b6b3e4304d1cbe7e3065 Mon Sep 17 00:00:00 2001 From: Tess Avitabile Date: Wed, 12 Oct 2022 17:08:25 -0400 Subject: [PATCH] Fix TestORBSLAMDataProcess timeout (#1484) --- services/slam/builtin/builtin_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/services/slam/builtin/builtin_test.go b/services/slam/builtin/builtin_test.go index 9757515f8ef..85dfeb89c31 100644 --- a/services/slam/builtin/builtin_test.go +++ b/services/slam/builtin/builtin_test.go @@ -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 @@ -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 @@ -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 @@ -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