Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
2tefan committed Oct 10, 2023
1 parent d84a744 commit 426d3e8
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions readAndExecute_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"os"
"strconv"
"strings"
"sync"
"syscall"
"testing"
"time"
Expand Down Expand Up @@ -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{}
Expand Down

0 comments on commit 426d3e8

Please sign in to comment.