You can specify number of continuity check messages that can be lost before marking the MEP as down. The default value is 3 PDUs.
To configure the loss threshold, include the loss-threshold statement at the [edit protocols oam ethernet connectivity-fault-management maintenance-domain domain-name maintenance-association ma-name continuity-check] hierarchy level.