This project is no longer being developed and has limited support. In the near future this repository will be fully deprecated. Please consider using other OneView projects, such as Golang and Python.
Apache License 2.0
12
stars
16
forks
source link
Improvements on the creation of the clients for integration tests #209
Currently, I can only perform integration tests if both the C7000 and synergy configuration files are configured. Because in the creation of shared_context, the clients of both are created together, creating a dependency between the two files. It would be nice to remove this dependency and if you just want to run tests for synergy, configure only the synergy configuration file.
Another example would be some server is not available. The server running the C7000 appliance is available, but the Synergy server is not available. In this case, it is necessary to change the credentials and IP in the Synergy configuration file, otherwise a timeout error occurs, and I only want to run the tests for C7000.
Environment Details
**OneView SDK Version: current master repo
**OneView Appliance Version: any
**OneView Client API Version: any
**Ruby Version: 2.2.3+
**Platform: Any
Expected Result
Independent configuration for execution of the integration tests.
Actual Result
Configuration dependency exists between C7000 and Synergy.
Scenario/Intent
Currently, I can only perform integration tests if both the C7000 and synergy configuration files are configured. Because in the creation of shared_context, the clients of both are created together, creating a dependency between the two files. It would be nice to remove this dependency and if you just want to run tests for synergy, configure only the synergy configuration file.
Another example would be some server is not available. The server running the C7000 appliance is available, but the Synergy server is not available. In this case, it is necessary to change the credentials and IP in the Synergy configuration file, otherwise a timeout error occurs, and I only want to run the tests for C7000.
Environment Details
Expected Result
Independent configuration for execution of the integration tests.
Actual Result
Configuration dependency exists between C7000 and Synergy.