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(vitest): fix thread id for tests #883

Merged
merged 4 commits into from
Feb 16, 2024
Merged

fix(vitest): fix thread id for tests #883

merged 4 commits into from
Feb 16, 2024

Conversation

vovsemenv
Copy link
Contributor

@vovsemenv vovsemenv commented Feb 15, 2024

Context

Checklist

Sorry, something went wrong.

@vovsemenv vovsemenv added the type:bug Something isn't working label Feb 15, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@vovsemenv vovsemenv requested a review from epszaw February 15, 2024 16:20
test.addLabel(LabelName.HOST, ALLURE_HOST_NAME || this.hostname.toString());
test.addLabel(LabelName.HOST, this.hostname);

const thread_id = ALLURE_THREAD_NAME || (VITEST_POOL_ID && `${this.hostname}-vitest-worker-${VITEST_POOL_ID}`);
Copy link
Member

Choose a reason for hiding this comment

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

Add spec with env variables like here

@epszaw epszaw merged commit 95cac06 into main Feb 16, 2024
@epszaw epszaw deleted the vitest-thread-id branch February 16, 2024 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme:vitest type:bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants