envoyproxy/envoy

Reduce boilerplate and enforce InSequence in RouterTest

Open

#4,916 opened on Oct 30, 2018

View on GitHub
 (0 comments) (0 reactions) (0 assignees)C++ (5,373 forks)batch import
help wantedtech debt

Repository metrics

Stars
 (27,997 stars)
PR merge metrics
 (Avg merge 8d) (378 merged PRs in 30d)

Description

The tests in RouterTest (test/common/router/router_test.cc) are very verbose and hard to work with. We should 1) reduce the amount of boilerplate necessary and 2) use InSequence in every test.

Contributor guide