Skip to content

Commit 713a370

Browse files
committed
Generate random name for k8s namespace
Signed-off-by: David Gageot <[email protected]>
1 parent 124e202 commit 713a370

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

integration/run_test.go

+1-3
Original file line numberDiff line numberDiff line change
@@ -243,11 +243,9 @@ func TestRun(t *testing.T) {
243243
}
244244

245245
func setupNamespace(t *testing.T) (*v1.Namespace, func()) {
246-
namespaceName := util.RandomID()
247246
ns, err := client.CoreV1().Namespaces().Create(&v1.Namespace{
248247
ObjectMeta: meta_v1.ObjectMeta{
249-
Name: namespaceName,
250-
Namespace: namespaceName,
248+
GenerateName: "skaffold",
251249
},
252250
})
253251
if err != nil {

0 commit comments

Comments
 (0)