Max Kuderko·FollowNov 5, 2021--1ShareAll you had to do was use sync.WaitGroup in your tests to wait for all go routines to finish.