Skip to content

Commit ceebef1

Browse files
Togis Thomasmeta-codesync[bot]
authored andcommitted
rxlol exclusion for 800G ZR
Summary: This diff adds an exclusion for 800G ZR optics when checking RX_LOL (Receiver Loss of Lock) signal in the link test.This is because RX_LOL is not raised for 800G ZR optics since squelching is disabled by default on these modules. Reviewed By: xanabani Differential Revision: D90993031 fbshipit-source-id: b98b073b33322a8a6ef41d3e72aec836afa3ac10
1 parent 0044e3a commit ceebef1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

fboss/agent/test/link_tests/AgentEnsembleOpticsTest.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,10 @@ TEST_F(AgentEnsembleOpticsTest, verifyTxRxLatches) {
244244
// RX_LOL is not reliable right now on certain 100G
245245
// CWDM4 optics like AOI and Miniphoton. So skip checking it
246246
// on these optics for now
247-
if (mediaInterface != MediaInterfaceCode::CWDM4_100G) {
247+
// RX_LOL is not raised for 800G ZR optics as squelching is
248+
// disable by default
249+
if (mediaInterface != MediaInterfaceCode::CWDM4_100G &&
250+
mediaInterface != MediaInterfaceCode::ZR_800G) {
248251
EXPECT_EVENTUALLY_EQ(signal.rxLol().value(), rxLatch)
249252
<< portName << ", lane: " << signal.get_lane();
250253
}

0 commit comments

Comments
 (0)