Skip to content

Commit c938a5e

Browse files
committed
fix the e2e tests
Signed-off-by: Zhiying Lin <[email protected]>
1 parent 82780db commit c938a5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/e2e/utils_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,15 +129,15 @@ func markMemberClusterAsHealthy(name string) {
129129
{
130130
Type: string(clusterv1beta1.AgentJoined),
131131
LastTransitionTime: metav1.Now(),
132-
ObservedGeneration: 0,
132+
ObservedGeneration: imcObj.GetGeneration(),
133133
Status: metav1.ConditionTrue,
134134
Reason: "JoinedCluster",
135135
Message: "set to be joined",
136136
},
137137
{
138138
Type: string(clusterv1beta1.AgentHealthy),
139139
LastTransitionTime: metav1.Now(),
140-
ObservedGeneration: 0,
140+
ObservedGeneration: imcObj.GetGeneration(),
141141
Status: metav1.ConditionTrue,
142142
Reason: "HealthyCluster",
143143
Message: "set to be healthy",

0 commit comments

Comments
 (0)