From 40853313057e4df0d44e35dd97bbb6daec639f56 Mon Sep 17 00:00:00 2001 From: Parvez Shaikh Date: Wed, 4 Dec 2024 13:08:42 -0800 Subject: [PATCH] disable diag shell for tests Summary: as titled Reviewed By: srikrishnagopu Differential Revision: D66740333 Privacy Context Container: L1125642 fbshipit-source-id: 0a32c7f1b2f0dc5040411c418a4ec6b1e271b532 --- fboss/agent/hw/sai/hw_test/SaiSwitchEnsemble.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fboss/agent/hw/sai/hw_test/SaiSwitchEnsemble.cpp b/fboss/agent/hw/sai/hw_test/SaiSwitchEnsemble.cpp index 0d6898596e94a..9293d8c472117 100644 --- a/fboss/agent/hw/sai/hw_test/SaiSwitchEnsemble.cpp +++ b/fboss/agent/hw/sai/hw_test/SaiSwitchEnsemble.cpp @@ -180,8 +180,11 @@ void SaiSwitchEnsemble::init( getPlatform()->getAsic()->getDefaultStreamType()); getPlatform()->initLEDs(); auto hw = static_cast(getHwSwitch()); +#if !defined(CHENAB_SDK) + // TODO(pshaikh): hacking to skip this for Chenab for now diagShell_ = std::make_unique(hw); diagCmdServer_ = std::make_unique(hw, diagShell_.get()); +#endif } void SaiSwitchEnsemble::gracefulExit() {