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

Fix long work test on big server #2236

Merged
merged 1 commit into from
Sep 19, 2024
Merged

Conversation

EvgeniiMekhanik
Copy link
Contributor

There is no crash in unittests described in #2222

  • everything is ok, but test works too long (about 30 minutes), because of a lot of cpu in system. Fix test
  • now if count of cpu is greater then 32 count of workers == count of cpu not count of cpu * 10.

Closes #2222

Copy link
Contributor

@krizhanovsky krizhanovsky left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@const-t const-t left a comment

Choose a reason for hiding this comment

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

LGTM. Seems single consumer can't pop items for the reasonable time in case a lot of cpus.

}


Copy link
Contributor

Choose a reason for hiding this comment

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

Extra line break

There is no crash in unittests described in #2222
- everything is ok, but test works too long (about 30
minutes), because of a lot of cpu in system. Fix test
- now if count of cpu is greater then 32 count of
workers == count of cpu not count of cpu * 10.

Closes #2222
@krizhanovsky krizhanovsky merged commit a8e2a46 into master Sep 19, 2024
1 check failed
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.

Tempesta unittests crash
3 participants