Skip to content

Commit 351fda7

Browse files
committed
Print log
Signed-off-by: Lubron Zhan <[email protected]>
1 parent 5697b6a commit 351fda7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

controllers/machine/machine_controller_intg_test.go

+5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
package machine_test
55

66
import (
7+
"fmt"
78
"os"
89

910
. "github.com/onsi/ginkgo"
@@ -96,11 +97,15 @@ func intgTestMachineController() {
9697
Eventually(func() int {
9798
err := ctx.Client.Get(ctx.Context, client.ObjectKey{Name: cluster.Namespace + "-" + cluster.Name + "-control-plane", Namespace: cluster.Namespace}, ep)
9899
if err != nil {
100+
fmt.Println("error#############")
99101
return 0
100102
}
103+
fmt.Println(ep)
101104
if len(ep.Subsets) == 0 {
102105
return 0
103106
}
107+
fmt.Println("here????????")
108+
fmt.Println(ep.Subsets[0])
104109
return len(ep.Subsets[0].Addresses)
105110
}).Should(Equal(1))
106111
Expect(ep.Subsets[0].Addresses[0].IP).Should(Equal("1.1.1.1"))

0 commit comments

Comments
 (0)