nutanix-cloud-native / ndb-operator

Nutanix NDB Kubernetes Operator
Apache License 2.0
13 stars 24 forks source link

Automation layout scaffolding #164

Open mazin-s opened 1 year ago

mazin-s commented 1 year ago

This PR contains the automation scaffolding for future db engine tests. The purpose of this PR is to limit the various code needed for the different db engines and have common functions handle the logic.

GetAppResponse() function for testing app connectivity for all tests GetDatabaseResponse() for testing if database is successfully created ProvisioningTestSetup and ProvisioningTestSetup helper method to be used for all tests Setup methods and other common helpers used in various places such as creating type resources from YAMLS, creating logger, etc

I've attached images of the successful test runs. Screenshot 2023-10-18 at 9 19 34 AM pg-si_test.log