From 7d8d9abe54350eef7b2a093f44574b91ca0072bf Mon Sep 17 00:00:00 2001 From: Helmut Merz Date: Sat, 3 Jun 2023 15:53:30 +0200 Subject: [PATCH] app start as Goroutine basically working --- testing/testing.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/testing/testing.go b/testing/testing.go index 3c3e591..bf8afd3 100644 --- a/testing/testing.go +++ b/testing/testing.go @@ -13,11 +13,7 @@ import ( ) func Start(ctx common.Context) { - ctx.WaitGroup().Add(1) - go func() { - scopes.Start(ctx) - ctx.WaitGroup().Done() - }() + scopes.Start(ctx) time.Sleep(100 * time.Millisecond) }