Skip to content

mocks: Add MockClusterTypedMetadata and expose from MockClusterInfo.#6797

Merged
mattklein123 merged 3 commits intoenvoyproxy:masterfrom
jeffpiazza-google:mock-typed-metadata
May 24, 2019
Merged

mocks: Add MockClusterTypedMetadata and expose from MockClusterInfo.#6797
mattklein123 merged 3 commits intoenvoyproxy:masterfrom
jeffpiazza-google:mock-typed-metadata

Conversation

@jeffpiazza-google
Copy link
Copy Markdown
Contributor

Signed-off-by: Jeff Piazza jeffpiazza@google.com

For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md

Description:Adds a MockClusterTypedMetadata class and exposes a default instance from MockClusterInfo.
Risk Level:Low
Testing:n/a
Docs Changes:n/a
Release Notes:n/a
[Optional Fixes #Issue]
[Optional Deprecated:]

@zuercher
Copy link
Copy Markdown
Member

zuercher commented May 3, 2019

@junr03 I think this replaces an earlier PR you were waiting on.

@jeffpiazza-google
Copy link
Copy Markdown
Contributor Author

/retest

@repokitteh-read-only
Copy link
Copy Markdown

🔨 rebuilding ci/circleci: tsan (failed build)

🐱

Caused by: a #6797 (comment) was created by @jeffpiazza-google.

see: more, trace.

Copy link
Copy Markdown
Member

@junr03 junr03 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jeffpiazza-google can you refresh my memory about where we want to use this? It might make sense to also include in this PR a test that needs this. Otherwise, we are adding for completeness.

Let me know what you think

@jeffpiazza-google
Copy link
Copy Markdown
Contributor Author

jeffpiazza-google commented May 6, 2019 via email

junr03
junr03 previously approved these changes May 8, 2019
Copy link
Copy Markdown
Member

@junr03 junr03 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense to me. Thanks for the context. I'll pong to one of the googlers to review

@junr03
Copy link
Copy Markdown
Member

junr03 commented May 8, 2019

@alyssawilk do you mind taking a quick look?

Copy link
Copy Markdown
Contributor

@alyssawilk alyssawilk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, but it's worth seeing if there's some upstream tests we can enhance. I've found internally-used code often gets cleaned up when folks notice it is "not being used" :-)

If you can't find anything just ping back and I'll merge and cross my finters :-)

@stale
Copy link
Copy Markdown

stale bot commented May 15, 2019

This pull request has been automatically marked as stale because it has not had activity in the last 7 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@stale stale bot added the stale stalebot believes this issue/PR has not been touched recently label May 15, 2019
@stale
Copy link
Copy Markdown

stale bot commented May 22, 2019

This pull request has been automatically closed because it has not had activity in the last 14 days. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@stale stale bot closed this May 22, 2019
@jeffpiazza-google
Copy link
Copy Markdown
Contributor Author

I looked a bit, but didn't see any upstream tests that were natural consumers of these mocks. Nonetheless, we have some in-house tests for which we'd like to have these mocks available.

@alyssawilk alyssawilk reopened this May 23, 2019
@stale stale bot removed the stale stalebot believes this issue/PR has not been touched recently label May 23, 2019
Signed-off-by: Jeff Piazza <jeffpiazza@google.com>
Signed-off-by: Jeff Piazza <jeffpiazza@google.com>
@jeffpiazza-google
Copy link
Copy Markdown
Contributor Author

/retest

@repokitteh-read-only
Copy link
Copy Markdown

🔨 rebuilding ci/circleci: tsan (failed build)

🐱

Caused by: a #6797 (comment) was created by @jeffpiazza-google.

see: more, trace.

…k-typed-metadata

Signed-off-by: Jeff Piazza <jeffpiazza@google.com>
@mattklein123 mattklein123 merged commit 7bfad91 into envoyproxy:master May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants