-
Notifications
You must be signed in to change notification settings - Fork 310
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
Harmonize testing of RPC servers #42
Comments
Blocks #192 |
@johanstokking the only tests blocking #192 are in AS, which according to the description of this issue should not have issues. |
The main objective of this issue is harmonization. If the test implementation of AS needs to be changed to close this issue and resolve issues seen in #192, then that would be best. |
@KrishnaIyer please take care of AS, GS |
GS is already done. @adriansmares AS at your own leisure.. 💯 |
@adriansmares please check which parts of AS should be addressed. The explicit dialing of the linking is (partly) on purpose, to test an AS dialing to an external NS. However, for in cluster testing, you may want to use the loopback connection. With @KrishnaIyer's comment, removing GS label. @rvolosatovs please check if JS is still relevant; that one may be done as well? |
Not blocking #192 anymore |
@adriansmares @rvolosatovs please re-add label |
NS part is done |
AS done as of #898 |
Finished as of #898. |
Summary:
Harmonize testing of RPC servers.
Why do we need this?
To be consistent across the codebase.
What is already there? What do you see now?
Two classes of inconsistencies;
What is missing? What do you want to see?
In general, I prefer a more "black box testing" approach; i.e. outside testing over inside hooks. This is still unit testing, but then the component from outside.
Regarding the two inconsistencies described above, I prefer;
How do you propose to implement this?
The occurrences of 1 and 2 are only in the NS and JS. @rvolosatovs if you agree with this approach, please list the tests that are relevant, and work with @M-Gregoire or yourself to harmonize this.
Original issue: https://github.com/TheThingsIndustries/lorawan-stack/issues/1361 by @johanstokking
The text was updated successfully, but these errors were encountered: