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

Add basic metrics unit tests #2271

Merged
merged 2 commits into from
Dec 15, 2021
Merged

Conversation

Ardagan
Copy link
Contributor

@Ardagan Ardagan commented Dec 7, 2021

What changed?
Added unit tests for metrics

Why?
Test coverage

How did you test it?
these are unit tests.

Potential risks
N/A

Is hotfix candidate?
N/A

@Ardagan Ardagan requested a review from a team December 7, 2021 22:59
@Ardagan Ardagan changed the title Metrics unit tests Add basic metrics unit tests Dec 7, 2021
@Ardagan Ardagan requested a review from yiminc December 7, 2021 22:59
UnitTestService: {
TestScope1: {operation: "test_scope_1_operation"},
TestScope2: {operation: "test_scope_2_operation"},
},
Copy link
Member

Choose a reason for hiding this comment

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

do we have to add those here for testing? Is there a way to put them in test package?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We currently initialize clients using this global variable. I'll look to separate it in other PRs.

@Ardagan Ardagan enabled auto-merge (squash) December 15, 2021 07:54
@Ardagan Ardagan merged commit 67b06d6 into temporalio:master Dec 15, 2021
@Ardagan Ardagan deleted the MetricsUnitTests branch December 15, 2021 10:35
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.

2 participants