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

Fix test issues #20

Merged
merged 4 commits into from
Oct 20, 2020
Merged

Conversation

auroraslb
Copy link
Contributor

@auroraslb auroraslb commented Sep 2, 2020

Fix issues discovered in the EDTT tests.

@kruithofa kruithofa added the bug Something isn't working label Sep 2, 2020
@joerchan
Copy link
Collaborator

joerchan commented Sep 2, 2020

@auroraslb Could you add some more information in the commit changes about why the change and why it is needed?

@auroraslb auroraslb changed the title EDTT with nrfxlib Fix test issues Sep 2, 2020
Copy link
Collaborator

@joerchan joerchan left a 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.

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)));
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
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)));

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)));
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
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)));

src/components/basic_commands.py Outdated Show resolved Hide resolved
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]>
@heri-developer heri-developer merged commit 902bf51 into EDTTool:public_master Oct 20, 2020
wopu-ot added a commit to wopu-ot/EDTT that referenced this pull request Oct 1, 2021
[LL.TS.p18r64] Update naming convention in CIS/PER/* test cases
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants