test: update TestVolumeLifeCycle
replica.spec.failedAt is set after replica is marked as ERR.
Longhorn 5340
@@ -807,7 +807,6 @@ func (s *TestSuite) TestVolumeLifeCycle(c *C) {
for _, r := range tc.expectReplicas {
if r.Spec.NodeID == TestNode2 {
r.Spec.DesireState = longhorn.InstanceStateStopped
- r.Spec.FailedAt = getTestNow()
} else {
r.Spec.DesireState = longhorn.InstanceStateRunning
}
