diff --git a/readAndExecute_test.go b/readAndExecute_test.go index 045c28e..79adcdf 100644 --- a/readAndExecute_test.go +++ b/readAndExecute_test.go @@ -7,7 +7,6 @@ import ( "os" "strconv" "strings" - "sync" "syscall" "testing" "time" @@ -172,20 +171,6 @@ func TestExecuteCommandWithTimeout(t *testing.T) { } } -// Parallelize parallelizes the function calls -func Parallelize(functions ...func()) { - var waitGroup sync.WaitGroup - waitGroup.Add(len(functions)) - - defer waitGroup.Wait() - - for _, function := range functions { - go func(f func()) { - f() - }(function) - } -} - // Testing with golang 1.20.8 func TestExecuteCommandWithTimeoutII(t *testing.T) { config := configurationStruct{}