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

fixed regressions around series leak due to races; refactor for clarity #87

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

bwplotka
Copy link
Member

No description provided.

Copy link

@jesusvazquez jesusvazquez left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -176,8 +305,8 @@ func TestRunMetricsGradualChange(t *testing.T) {

time.Sleep(2 * time.Second)
currentCount := countSeries(t, reg)
expectedInitialCount := currentCount
assert.Equal(t, expectedInitialCount, currentCount, "Initial series count should be minSeriesCount %d but got %d", expectedInitialCount, currentCount)
fmt.Println("seriesCount: ", currentCount)

Choose a reason for hiding this comment

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

Might want to remove this fmt?

Copy link
Member Author

Choose a reason for hiding this comment

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

Let's keep it, it's everywhere else in the tests, let's fix globally if needed (: OK?

@bwplotka bwplotka merged commit 1b88ab7 into main Sep 26, 2024
7 checks passed
@bwplotka bwplotka deleted the remove-old-series branch September 26, 2024 10:39
prateeknayak pushed a commit to prateeknayak/avalanche that referenced this pull request Jan 2, 2025
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