[USC-18] Improve scripts for test suite download usc-tools Created: 15/Feb/16  Updated: 19/Oct/17

Status: Confirmed
Project: usc
Component/s: General
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: A H Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 5359

 Description   

The robot scripts for donwloading usc-tools is complicated. Need to improve the robot scripts to be more clear for test users to understand. The suggestion is as follows:

${file_exist_status} Run Keyword And Ignore Error File Should Exist ~/usc-tools/UscAgent.tar
Run Keyword If "${file_exists_status}" == "FAIL" Run git clone ...

Also, the read until for "(17/17), done." is too specific and needs to be refactored to be generalized in case updates are made to the usc-tools repo.



 Comments   
Comment by Jamo Luhrsen [ 15/Feb/16 ]

(In reply to A H from comment #0)
> The robot scripts for donwloading usc-tools is complicated. Need to improve
> the robot scripts to be more clear for test users to understand. The
> suggestion is as follows:
>
> ${file_exist_status} Run Keyword And Ignore Error File Should Exist
> ~/usc-tools/UscAgent.tar
> Run Keyword If "${file_exists_status}" == "FAIL" Run git clone ...
>
> Also, the read until for "(17/17), done." is too specific and needs to be
> refactored to be generalized in case updates are made to the usc-tools repo.

here's original patch with comments:
https://git.opendaylight.org/gerrit/#/c/31730/

Generated at Wed Feb 07 20:46:47 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.