Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkowl committed Jun 18, 2024
1 parent 00ca0d7 commit ceadf7c
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions pkg/cluster/install_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,23 +109,23 @@ func TestStepRunnerWithInstaller(t *testing.T) {
},
{
"level": gomega.Equal(logrus.InfoLevel),
"msg": gomega.MatchRegexp(`(?s)pkg/cluster.\(\*manager\).logClusterVersion-fm:.*"name": "version"`),
"msg": gomega.MatchRegexp(`(?s)pkg/cluster.\(\*manager\).logClusterVersion:.*"name": "version"`),
},
{
"level": gomega.Equal(logrus.InfoLevel),
"msg": gomega.MatchRegexp(`(?s)pkg/cluster.\(\*manager\).logNodes-fm:.*"name": "node"`),
"msg": gomega.MatchRegexp(`(?s)pkg/cluster.\(\*manager\).logNodes:.*"name": "node"`),
},
{
"level": gomega.Equal(logrus.InfoLevel),
"msg": gomega.MatchRegexp(`(?s)pkg/cluster.\(\*manager\).logClusterOperators-fm:.*"name": "operator"`),
"msg": gomega.MatchRegexp(`(?s)pkg/cluster.\(\*manager\).logClusterOperators:.*"name": "operator"`),
},
{
"level": gomega.Equal(logrus.InfoLevel),
"msg": gomega.MatchRegexp(`(?s)pkg/cluster.\(\*manager\).logIngressControllers-fm:.*"name": "ingress-controller"`),
"msg": gomega.MatchRegexp(`(?s)pkg/cluster.\(\*manager\).logIngressControllers:.*"name": "ingress-controller"`),
},
{
"level": gomega.Equal(logrus.InfoLevel),
"msg": gomega.Equal(`pkg/cluster/failurediagnostics.(*manager).LogAzureInformation-fm: vmclient missing`),
"msg": gomega.Equal(`pkg/cluster/failurediagnostics.(*manager).LogAzureInformation: vmclient missing`),
},
},
kubernetescli: fake.NewSimpleClientset(node),
Expand Down Expand Up @@ -153,19 +153,19 @@ func TestStepRunnerWithInstaller(t *testing.T) {
},
{
"level": gomega.Equal(logrus.InfoLevel),
"msg": gomega.Equal(`pkg/cluster.(*manager).logNodes-fm: null`),
"msg": gomega.Equal(`pkg/cluster.(*manager).logNodes: null`),
},
{
"level": gomega.Equal(logrus.InfoLevel),
"msg": gomega.Equal(`pkg/cluster.(*manager).logClusterOperators-fm: null`),
"msg": gomega.Equal(`pkg/cluster.(*manager).logClusterOperators: null`),
},
{
"level": gomega.Equal(logrus.InfoLevel),
"msg": gomega.Equal(`pkg/cluster.(*manager).logIngressControllers-fm: null`),
"msg": gomega.Equal(`pkg/cluster.(*manager).logIngressControllers: null`),
},
{
"level": gomega.Equal(logrus.InfoLevel),
"msg": gomega.Equal(`pkg/cluster/failurediagnostics.(*manager).LogAzureInformation-fm: vmclient missing`),
"msg": gomega.Equal(`pkg/cluster/failurediagnostics.(*manager).LogAzureInformation: vmclient missing`),
},
},
kubernetescli: fake.NewSimpleClientset(),
Expand Down

0 comments on commit ceadf7c

Please sign in to comment.