Skip to content

Commit

Permalink
Merge pull request #259 from flatcar-linux/tormath1/etcd
Browse files Browse the repository at this point in the history
kola/tests/etcd: add `name: ` to one CLC
  • Loading branch information
tormath1 authored Dec 16, 2021
2 parents 7e430f8 + 95bae5c commit 890a4ef
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions kola/tests/etcd/discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ package etcd

import (
"encoding/json"
"fmt"

"github.com/coreos/pkg/capnslog"
"github.com/pborman/uuid"

"github.com/flatcar-linux/mantle/kola/cluster"
"github.com/flatcar-linux/mantle/kola/register"
Expand Down Expand Up @@ -65,14 +67,14 @@ etcd:
// this lets it run on more platforms, and also faster
ClusterSize: 1,
Name: "cl.etcd-member.etcdctlv3",
UserData: conf.ContainerLinuxConfig(`
UserData: conf.ContainerLinuxConfig(fmt.Sprintf(`
etcd:
name: kola-etcd-member-%s
listen_client_urls: http://0.0.0.0:2379
advertise_client_urls: http://127.0.0.1:2379
listen_peer_urls: http://0.0.0.0:2380
initial_advertise_peer_urls: http://127.0.0.1:2380
`),
`, uuid.New())),
Distros: []string{"cl"},
ExcludePlatforms: []string{"qemu-unpriv"},
})
Expand Down

0 comments on commit 890a4ef

Please sign in to comment.