nutanix-cloud-native / ndb-operator

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

Automation scaffolding for future db engine tests #163

Closed mazin-s closed 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.

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