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

Parallel test suite execution causes tests to fail #28

Open
enter-github-username opened this issue May 1, 2023 · 0 comments
Open

Parallel test suite execution causes tests to fail #28

enter-github-username opened this issue May 1, 2023 · 0 comments

Comments

@enter-github-username
Copy link

enter-github-username commented May 1, 2023

Running the test suite in parallel via the -j<number of tests to run in parallel> flag of make currently leads to test failures. This is caused by two tests (test_file and test_serialization) operating on the same file (test.tri). If both tests are run at the same time, they interfere with each other, causing one of them to fail.

A solution might be to rename the test file in the define of TRIE_FILENAME in tests/test_file.c and tests/test_serialization.c to something specific / unique for each tests.

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