-
Notifications
You must be signed in to change notification settings - Fork 127
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
script_json_communication example fails -- somewhat unusual #314
Comments
Thanks for reporting - will fix this. |
Fixed in 3ca0373 |
Hi. I would like the test to verify the results like step 3 code in OP. Can I submit a PR to do that or do you think otherwise? |
Yes, I think it would be suitable. If you mean in the example, make the test "simple" with a print telling the issue/fail and success |
Instead, to adjust the code so it validates the test for automation and CI! Not humans. pseudocode ..
nlohmann::json expectedDict{{"one", 2}, {"foo", "baz"}};
if (expectedDict != changedDict) return 1;
return 0; |
script_json_communication example fails due to the word
warning
matching the test running regex. But it might be actually correct. But something else looks wrong...Setup
develop
84f7c69 + move/thread fixesdevelop
549a01b69d7c7a9c9b37f4971f4be45e42a0dfedmaster
eef5a51c608fef8e326c740f120b90a543e55b27Repro
script_json_communication
Result
Expected
No failure -- test to pass
Notes
Clearly the test runner is matching its regex on the line
🤷♀️But that line is in the python script node -- itself not indicating a problem...just outputting a log message.
🧐But where is the log output also in python of
I would expect to also see that log in the output. Something like...
Instead, I only see the output from the C++ code
I would expect the following...
The text was updated successfully, but these errors were encountered: