-
Notifications
You must be signed in to change notification settings - Fork 81
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
fix(binding-opcua;binding-coap) fix some test issues and resource leaks #519
fix(binding-opcua;binding-coap) fix some test issues and resource leaks #519
Conversation
36c32ca
to
e908078
Compare
4cab861
to
905596f
Compare
The tests fail
|
I am wondering why we didn't see any blocking issue before. 🤔 Even the latest PRs completed the test successfully. Another note: it seems that this PR also solves eslint errors, but it is quite confusing since opc-ua is not actually included (yet) among eslint checked packages. In other words, it does not have the lint script in the package |
My vscode is configured with the Prettier and eslint and highlights automatically the formatting or eslint error in the editor,
because mocha is configured to uses the --exit flag, and the --exit flag hides the problem. I will remove the --exit flag in a second phase. |
Where is the exit flag?
Yeah also mine, but I would prefer to have consistency so if you don't mind I'd add the lint command in this PR. |
7866a42
to
e153e9b
Compare
It seems to me as if the CI got stuck in the tests for 06eb231. Maybe this run can be cancelled? |
cancelled the workflow |
7122c38
to
ab29804
Compare
Hmm, I am afraid the CI got stuck again. |
Running the tests for this PR locally, it seems that the OPCUA client tests pass but the test suite doesn't terminate. |
ab29804
to
2d10de8
Compare
Sorry, I put this PR into "draft" mode in order to prevent unnecessary reviewing while this is being still worked on. I will remove the "Draft" status when the PR will be ready for review. |
d028b6c
to
1535bb6
Compare
I have separated the going fix for the binding-opcua into an other PR. |
Most of the changes are in HTTP. @relu91 may I ask you to take a look? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have couple of comments/suggestions after resolving those we can merge it 😃
Just to be sure, so the blocking issues were not in the HTTP binding right? I'm just concerned about the fact that we've never spotted it before. |
dd9192d
to
5d99b9d
Compare
One note: once we have fixed the CI issues here, we have to check if some of the coap open issues are solved by this. |
0add37d
to
e1124d1
Compare
e1124d1
to
0e232b0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@relu91 ?
I don't have a strong opinion. |
Yes, squashing is also fine, although it can be made upfront on the developer side by doing a |
That is a bit of a habit that I developed working with RIOT OS and their Git Workflow. They make extensive use of
If I see correctly, using the rebase option for merging does not create a merge commit at all, right? I would say having a reference on the main branch to PR the changes originated from would still be useful. But rebasing before the merge (with or without squashing) is definitely a good idea :) |
There is still one open comment from my previous review, but I can cover it myself. 👍🏻 About the merge strategy, I think this is not a good place to discuss it, I'll open an issue when we can explore different options/opinions. |
in particular, some resources leaks in coap and opcua test that prevents tests to terminate..
As a consequence it should be possible after this fix to run mocha without specifying --exit options to force termination.