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

Running the test suite in parallel causes flaky test behavior #12

Open
enter-github-username opened this issue Mar 18, 2023 · 0 comments

Comments

@enter-github-username
Copy link

enter-github-username commented Mar 18, 2023

Running the test suite in parallel (using make -j16 check) causes tests to randomly fail.

The log files of the failing tests contain this error:

event.tst: tester.c:79: tester_create: Assertion `bind(t->pfd[FD_LISTEN].fd, (struct sockaddr*)&addr, len) == 0' failed.
FAIL event.tst (exit status: 134)

As far as I could debug the issue, this may be caused by multiple tests trying to bind to the same unix socket /tmp/test.vici, as defined in tester_create, line 64. A possible solution might be to use a different unix socket per test.

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

1 participant