Skip to content

Commit 7e259aa

Browse files
committed
New job name with uuid
1 parent d6a1ef9 commit 7e259aa

3 files changed

Lines changed: 5 additions & 0 deletions

File tree

‎cli/cmd/helpers.go‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ import (
44
"strconv"
55
"strings"
66
"time"
7+
8+
"github.com/google/uuid"
79
)
810

911
func panicOnError(err error) {
@@ -16,6 +18,7 @@ func newJobName() string {
1618
return strings.Join(
1719
[]string{
1820
pluginName,
21+
uuid.NewString(),
1922
currentTime(),
2023
},
2124
"-",

‎test/integration/gcdump_test.go‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ func Test_GCDumpSubcommand(t *testing.T) {
3737
for _, tc := range testCases {
3838
tc := tc
3939
t.Run(tc.name, func(t *testing.T) {
40+
t.Parallel()
4041
teardown := setup(t, tc.pod)
4142
defer teardown()
4243
dir, _ := ioutil.TempDir("", tempDirPattern)

‎test/integration/trace_test.go‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ func Test_TraceSubcommand(t *testing.T) {
3737
for _, tc := range testCases {
3838
tc := tc
3939
t.Run(tc.name, func(t *testing.T) {
40+
t.Parallel()
4041
teardown := setup(t, tc.pod)
4142
defer teardown()
4243
dir, _ := ioutil.TempDir("", tempDirPattern)

0 commit comments

Comments
 (0)