Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the Darwin tests to actually pass. #89

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions examples/all-clusters-app/linux/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
#include "AppOptions.h"
#include "binding-handler.h"

#include <app/util/endpoint-config-api.h>
#include <lib/support/logging/CHIPLogging.h>

// Network commissioning
namespace {
constexpr chip::EndpointId kNetworkCommissioningEndpointSecondary = 0xFFFE;
Expand All @@ -36,15 +33,6 @@ int main(int argc, char * argv[])

LinuxDeviceOptions::GetInstance().dacProvider = AppOptions::GetDACProvider();

// TODO(#34374): Remove this when Darwin tests are more reliable.
chip::EndpointId kSwitchEndpoint = 3u;

emberAfEndpointEnableDisable(kSwitchEndpoint, false);
#if !defined(__APPLE__)
ChipLogProgress(NotSpecified, "Enabling the switch endpoint.");
emberAfEndpointEnableDisable(kSwitchEndpoint, true);
#endif

ChipLinuxAppMainLoop();

return 0;
Expand Down
Loading