Skip to content

Commit 36269c0

Browse files
kola/tests/iso: align test function names to testLive* pattern
1 parent 779c267 commit 36269c0

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

mantle/kola/tests/iso/live-as-disk.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ func init() {
3131
register.RegisterTest(&register.Test{
3232
Run: func(c cluster.TestCluster) {
3333
opts := getIsoTestOpts(testName)
34-
isoTestAsDisk(c, opts)
34+
testLiveAsDisk(c, opts)
3535
},
3636
ClusterSize: 0,
3737
Name: "iso." + testName,
@@ -43,7 +43,7 @@ func init() {
4343
}
4444
}
4545

46-
func isoTestAsDisk(c cluster.TestCluster, opts IsoTestOpts) {
46+
func testLiveAsDisk(c cluster.TestCluster, opts IsoTestOpts) {
4747
if err := CheckLiveArtifactsExist(); err != nil {
4848
c.Fatal(err)
4949
}

mantle/kola/tests/iso/live-iscsi.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ func init() {
6565
register.RegisterTest(&register.Test{
6666
Run: func(c cluster.TestCluster) {
6767
opts := getIsoTestOpts(testName)
68-
isoInstalliScsi(c, opts)
68+
testLiveSCSI(c, opts)
6969
},
7070
ClusterSize: 0,
7171
Name: "iso." + testName,
@@ -105,7 +105,7 @@ var iscsi_butane_config string
105105
// 6 - /var/nested-ign.json contains an ignition config:
106106
// - when the system is booted, write a success string to /dev/virtio-ports/testisocompletion
107107
// - as this serial device is mapped to the host serial device, the test concludes
108-
func isoInstalliScsi(c cluster.TestCluster, opts IsoTestOpts) {
108+
func testLiveSCSI(c cluster.TestCluster, opts IsoTestOpts) {
109109
if err := CheckLiveArtifactsExist(); err != nil {
110110
c.Fatal(err)
111111
}

mantle/kola/tests/iso/live-iso.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ func init() {
8686
register.RegisterTest(&register.Test{
8787
Run: func(c cluster.TestCluster) {
8888
opts := getIsoTestOpts(testName)
89-
runLiveIsoInstallTest(c, opts)
89+
testLiveIso(c, opts)
9090
},
9191
ClusterSize: 0,
9292
Name: "iso." + testName,
@@ -99,7 +99,7 @@ func init() {
9999
}
100100
}
101101

102-
func runLiveIsoInstallTest(c cluster.TestCluster, opts IsoTestOpts) {
102+
func testLiveIso(c cluster.TestCluster, opts IsoTestOpts) {
103103
if err := CheckLiveArtifactsExist(); err != nil {
104104
c.Fatal(err)
105105
}

mantle/kola/tests/iso/live-pxe.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ func init() {
6565
register.RegisterTest(&register.Test{
6666
Run: func(c cluster.TestCluster) {
6767
opts := getIsoTestOpts(testName)
68-
testPXE(c, opts)
68+
testLivePXE(c, opts)
6969
},
7070
ClusterSize: 0,
7171
Name: "iso." + testName,
@@ -93,7 +93,7 @@ ExecStart=/bin/sh -c "/usr/bin/jq -er '.[\"build\"]? + .[\"version\"]? == \"%s\"
9393
RequiredBy=coreos-installer.target
9494
`
9595

96-
func testPXE(c cluster.TestCluster, opts IsoTestOpts) {
96+
func testLivePXE(c cluster.TestCluster, opts IsoTestOpts) {
9797
if err := CheckLiveArtifactsExist(); err != nil {
9898
c.Fatal(err)
9999
}

0 commit comments

Comments
 (0)