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

Cut down test times #7861

Merged
merged 1 commit into from
Oct 29, 2024
Merged

Cut down test times #7861

merged 1 commit into from
Oct 29, 2024

Conversation

GiedriusS
Copy link
Member

Refactor so that leak detection is happening in TestMain; Use t.Parallel() everywhere;
Reduce series/samples count in some tests that reuse the same functions we use for benchmarking i.e. leave higher loads for benchmarks

Copy link
Contributor

@pedro-stanaka pedro-stanaka left a comment

Choose a reason for hiding this comment

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

Awesome work! 💪

@GiedriusS GiedriusS force-pushed the cut_down_test_times branch from 2011fe0 to 4ab3359 Compare October 28, 2024 09:32
fpetkovski
fpetkovski previously approved these changes Oct 28, 2024
@GiedriusS GiedriusS force-pushed the cut_down_test_times branch 9 times, most recently from 184a56e to 38a4be8 Compare October 28, 2024 15:10
Refactor so that leak detection is happening in TestMain;
Use t.Parallel() everywhere;
Reduce series/samples count in some tests that reuse the same functions
we use for benchmarking i.e. leave higher loads for benchmarks

Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>
@GiedriusS GiedriusS force-pushed the cut_down_test_times branch from 38a4be8 to d51bd15 Compare October 28, 2024 15:13
@pedro-stanaka
Copy link
Contributor

@GiedriusS I see that you migrated unit tests to github. Can we make the CircleCI status not required for PRs?

Copy link
Member

@saswatamcode saswatamcode left a comment

Choose a reason for hiding this comment

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

Nice! 🚀
I think we can mark circleci unit test job as not required after this PR is merged?

@GiedriusS
Copy link
Member Author

Yeah, will do that. I got fed up with CircleCI and that's why I moved our tests to there.

@GiedriusS GiedriusS merged commit 19dc4b9 into main Oct 29, 2024
22 checks passed
@GiedriusS GiedriusS deleted the cut_down_test_times branch October 29, 2024 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants