Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.6.0
-
None
Description
setupAgent.py will fail in such test scenarios:
- In case if script will be started without parameters - script will failed without reasonable error output.
- In case if script will be started without passed project version string and repository in the system will contain at least one available version of agent.
For example:
function call retcode = getOptimalVersion("") will always return exitcode 1, as any founded in repository version will not match blank string - In case if script will be started without passed project version.
Error output will fail, because of projectVersion variable will contain "None" type, not string. - In case if repository will contain several versions of packages with versions like "1.0.1, 1.0.3-SNAPSHOT, 1.0.5" getAvaliableAgentPackageVersions and findNearestAgentPackageVersion functions will return wrong result "1.0.1, 1.0.3" and version 1.0.5 will be missed.
Attachments
Issue Links
- links to