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

Concurrent trybuild tests lead to artifact name conflicts #276

Open
sandersaares opened this issue Jul 5, 2024 · 1 comment
Open

Concurrent trybuild tests lead to artifact name conflicts #276

sandersaares opened this issue Jul 5, 2024 · 1 comment

Comments

@sandersaares
Copy link

sandersaares commented Jul 5, 2024

I am seeing test result anomalies accompanied by such messages:

STDERR:
┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
error: no bin target named `trybuild001`

Did you mean `trybuild000`?
┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈

We have multiple test functions that invoke trybuild. My interpretation of the situation is that the trybuild test artifacts end up as `target\tests\trybuild\x86_64-pc-windows-msvc\debug\trybuild000.exe" and it sounds like in our case they are conflicting between different trybuild tests, each of which try to build artifacts with the same indexes.

Is there an intentional limitation where only the pattern with a single #[test] fn ui { ... } is supported? If so, I suggest documenting this.

@neysofu
Copy link

neysofu commented Aug 18, 2024

My team has also experienced this. Occasionally, our trybuild tests fail with the error message that you reported.

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

No branches or pull requests

2 participants