pull/36877/head
Mark D. Roth 6 months ago
parent cced2bed31
commit 68d3c63342
  1. 5
      test/cpp/end2end/client_lb_end2end_test.cc

@ -2947,7 +2947,10 @@ TEST_F(ControlPlaneStatusRewritingTest, RewritesFromConfigSelector) {
public: public:
explicit FailConfigSelector(absl::Status status) explicit FailConfigSelector(absl::Status status)
: status_(std::move(status)) {} : status_(std::move(status)) {}
const char* name() const override { return "FailConfigSelector"; } grpc_core::UniqueTypeName name() const override {
static grpc_core::UniqueTypeName::Factory kFactory("FailConfigSelector");
return kFactory.Create();
}
bool Equals(const ConfigSelector* other) const override { bool Equals(const ConfigSelector* other) const override {
return status_ == static_cast<const FailConfigSelector*>(other)->status_; return status_ == static_cast<const FailConfigSelector*>(other)->status_;
} }

Loading…
Cancel
Save