-
Notifications
You must be signed in to change notification settings - Fork 19
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 test issues #20
Fix test issues #20
Conversation
@auroraslb Could you add some more information in the commit changes about why the change and why it is needed? |
455805b
to
96a7306
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.
The test changes look correct to me.
src/components/basic_commands.py
Outdated
if ( status == 0 ): | ||
packet = transport.recv(idx, 6, to); | ||
if ( 6 != len(packet) ): | ||
raise Exception("LE Read Peer Resolvable Address command failed: Response too short (Expected %i bytes got %i bytes)" % (11, len(packet))); |
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.
raise Exception("LE Read Peer Resolvable Address command failed: Response too short (Expected %i bytes got %i bytes)" % (11, len(packet))); | |
raise Exception("LE Read Peer Resolvable Address command failed: Response too short (Expected %i bytes got %i bytes)" % (6, len(packet))); |
src/components/basic_commands.py
Outdated
if ( status == 0 ): | ||
packet = transport.recv(idx, 6, to); | ||
if ( 6 != len(packet) ): | ||
raise Exception("LE Read Local Resolvable Address command failed: Response too short (Expected %i bytes got %i bytes)" % (11, len(packet))); |
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.
raise Exception("LE Read Local Resolvable Address command failed: Response too short (Expected %i bytes got %i bytes)" % (11, len(packet))); | |
raise Exception("LE Read Local Resolvable Address command failed: Response too short (Expected %i bytes got %i bytes)" % (6, len(packet))); |
96a7306
to
7bc8baa
Compare
After the change, the test is matching the LL test specification. Signed-off-by: Sletnes Bjørlo, Aurora <[email protected]>
In some cases these were interchanged between upper and lower tester Signed-off-by: Sletnes Bjørlo, Aurora <[email protected]>
…e to be properly updated. The variable would previously not be updated in all cases where there was a change in values. After the change, these tests are matching the LL test specification. Signed-off-by: Sletnes Bjørlo, Aurora <[email protected]>
Fix inconstancy in address use. The lower is using a public address. Signed-off-by: Sletnes Bjørlo, Aurora <[email protected]>
7bc8baa
to
3fa0b8f
Compare
[LL.TS.p18r64] Update naming convention in CIS/PER/* test cases
Fix issues discovered in the EDTT tests.