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

Conflict with signinfo's temporary linguistic node sequence file caused test failures. #4625

Merged
merged 14 commits into from Mar 12, 2024

Conversation

gknisely
Copy link
Member

@gknisely gknisely commented Mar 11, 2024

Issue

graphparser test is randomly failing. Ref: #4606 (comment)

Tasklist

  • Add tests
  • Add #fixes with the issue number that this PR addresses
  • Update the docs with any new request parameters or changes to behavior described
  • Update the changelog
  • If you made changes to the lua files, update the taginfo too.

Requirements / Relations

Link any requirements here. Other pull requests this PR is based on?

@gknisely gknisely marked this pull request as ready for review March 11, 2024 14:40
kevinkreiser
kevinkreiser previously approved these changes Mar 11, 2024
@gknisely
Copy link
Member Author

Still having issues. Looking at it

@gknisely gknisely changed the title updated path location so that we don't share the same as utrecht.cc test Conflict with signinfo's temporary linguistic node sequence file caused test failures. Mar 12, 2024
@@ -30,7 +30,7 @@ TEST(Signinfo, ExitToTest) {
std::vector<SignInfo> signs;
std::vector<std::string> linguistics;
std::vector<std::pair<std::string, bool>> default_languages;
const std::string linguistic_node_file = "test_linguistic_node.bin";
const std::string linguistic_node_file = "test_sign_linguistic_node.bin";
Copy link
Member Author

Choose a reason for hiding this comment

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

This file was the cause of the problem. In the multi-threaded environment the test_linguistic_node.bin was getting deleted for the graphparser.cc test.

Copy link
Member

Choose a reason for hiding this comment

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

so this test also builds to the same directory as graphparser.cc? if so, shouldn't we change that?

Copy link
Member Author

Choose a reason for hiding this comment

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

Most are all running in the same directory. This test is testing specifically signs and is not building data. This is a temporary file as it is required for CreateSignInfoList We are not testing linguistic node signage here as it is done in the gurka tests. The real solution is to migrate the old tests to gurka.

dnesbitt61
dnesbitt61 previously approved these changes Mar 12, 2024
reverted back
@gknisely gknisely merged commit 929718b into master Mar 12, 2024
9 checks passed
@gknisely gknisely deleted the fix_brittle_tests branch March 12, 2024 16:14
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.

None yet

4 participants