Skip to content

Commit

Permalink
disable diag shell for tests
Browse files Browse the repository at this point in the history
Summary: as titled

Reviewed By: srikrishnagopu

Differential Revision:
D66740333

Privacy Context Container: L1125642

fbshipit-source-id: 0a32c7f1b2f0dc5040411c418a4ec6b1e271b532
  • Loading branch information
Parvez Shaikh authored and facebook-github-bot committed Dec 4, 2024
1 parent 990a0f2 commit 4085331
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fboss/agent/hw/sai/hw_test/SaiSwitchEnsemble.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,11 @@ void SaiSwitchEnsemble::init(
getPlatform()->getAsic()->getDefaultStreamType());
getPlatform()->initLEDs();
auto hw = static_cast<SaiSwitch*>(getHwSwitch());
#if !defined(CHENAB_SDK)
// TODO(pshaikh): hacking to skip this for Chenab for now
diagShell_ = std::make_unique<DiagShell>(hw);
diagCmdServer_ = std::make_unique<DiagCmdServer>(hw, diagShell_.get());
#endif
}

void SaiSwitchEnsemble::gracefulExit() {
Expand Down

0 comments on commit 4085331

Please sign in to comment.