Skip to content

Commit 2b89a32

Browse files
committed
pkg/cluster: fix install_test after dropping CI-unconditional commit
The dropped commit added LogLoadBalancers and LogBootstrapNode expected log entries to both install-path test cases. Re-add them here so they stay with the commit that actually calls those functions.
1 parent 55b9150 commit 2b89a32

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

pkg/cluster/install_test.go

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,14 @@ func TestStepRunnerWithInstaller(t *testing.T) {
142142
"level": gomega.Equal(logrus.InfoLevel),
143143
"msg": gomega.Equal(`pkg/cluster/failurediagnostics.(*manager).LogVMSerialConsole: vmclient missing`),
144144
},
145+
{
146+
"level": gomega.Equal(logrus.InfoLevel),
147+
"msg": gomega.Equal(`pkg/cluster/failurediagnostics.(*manager).LogLoadBalancers: load balancer or metrics client missing`),
148+
},
149+
{
150+
"level": gomega.Equal(logrus.InfoLevel),
151+
"msg": gomega.Equal(`pkg/cluster/failurediagnostics.(*manager).LogBootstrapNode: lb or interface client missing`),
152+
},
145153
{
146154
"level": gomega.Equal(logrus.InfoLevel),
147155
"msg": gomega.Equal(`pkg/cluster.(*manager).logClusterDeployment: null`),
@@ -236,6 +244,14 @@ func TestStepRunnerWithInstaller(t *testing.T) {
236244
"level": gomega.Equal(logrus.InfoLevel),
237245
"msg": gomega.Equal(`pkg/cluster/failurediagnostics.(*manager).LogVMSerialConsole: vmclient missing`),
238246
},
247+
{
248+
"level": gomega.Equal(logrus.InfoLevel),
249+
"msg": gomega.Equal(`pkg/cluster/failurediagnostics.(*manager).LogLoadBalancers: load balancer or metrics client missing`),
250+
},
251+
{
252+
"level": gomega.Equal(logrus.InfoLevel),
253+
"msg": gomega.Equal(`pkg/cluster/failurediagnostics.(*manager).LogBootstrapNode: lb or interface client missing`),
254+
},
239255
{
240256
"level": gomega.Equal(logrus.InfoLevel),
241257
"msg": gomega.Equal(`pkg/cluster.(*manager).logClusterDeployment: null`),

0 commit comments

Comments
 (0)