Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
endpoint: move
TestReadEpsFromDirNames
to pkg/endpoint
The test was previously in `daemon`, and necessitated leaking a lot of Endpoint-related state. Instead, refactor the test into the Endpoint package. Do not regenerate the endpoints needed for testing; instead, write their headerfiles using `writeHeaderfile`, since that is the operation which is needed to be performed in order to perform the test to read the serialized Endpoints from their corresponding headerfiles. Signed-off by: Ian Vernon <ian@cilium.io>
- Loading branch information
Ian Vernon
committed
Aug 22, 2019
1 parent
af710fd
commit 852d91d
Showing
2 changed files
with
66 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters