Skip to content

Fix echo test handshake and reduce uart load #5272

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

Merged
merged 1 commit into from
Oct 9, 2017
Merged

Fix echo test handshake and reduce uart load #5272

merged 1 commit into from
Oct 9, 2017

Conversation

studavekar
Copy link
Contributor

Description

  1. if we receive more than one __sync, previous handshake would consider
    it as echo_count and try to decode the value. Now we skip superfluous __sync.

  2. reduce the uart load produced by the test, as we are heavily running tests in
    parallel and not one-to-one this update was required.

Status

IN DEVELOPMENT

Todos

  • Tests

1) if we receive more than one __sync, previous handshake would consider
it as echo_count and try to decode the value. Now we skip superfluous __sync.

2) reduce the uart load produced by the test, as we are heavily running tests in
parallel and not one-to-one this update was required.
@studavekar
Copy link
Contributor Author

morph test

@studavekar
Copy link
Contributor Author

triggering of test since this would be important to get parallel tests in place.

/morph test-nightly

@studavekar
Copy link
Contributor Author

@bridadan can you please review

@mbed-bot
Copy link

mbed-bot commented Oct 9, 2017

Result: SUCCESS

Your command has finished executing! Here's what you wrote!

/morph test-nightly

Output

mbed Build Number: 1549

All builds and test passed!

@0xc0170
Copy link
Contributor

0xc0170 commented Oct 9, 2017

retest uvisor

@@ -48,12 +53,10 @@ utest::v1::status_t greentea_failure_handler(const Case *const source, const fai

Case cases[] = {
Case("Echo server: x16", test_case_echo_server_x<16>, greentea_failure_handler),
Case("Echo server: x32", test_case_echo_server_x<32>, greentea_failure_handler),
Case("Echo server: x64", test_case_echo_server_x<64>, greentea_failure_handler),
Copy link
Contributor

Choose a reason for hiding this comment

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

Seems ok, I'm guessing if any failures were to crop up in these cases it'd be a DAPlink related issue.

cc @c1728p9

@theotherjimmy theotherjimmy changed the title fix echo test handshake and reduce uart load Fix echo test handshake and reduce uart load Oct 9, 2017
@theotherjimmy theotherjimmy merged commit df88a9d into ARMmbed:master Oct 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants