codbex / codbex-kronos

SAP HANA XS Classic and ABAP Compatibility Platform
https://codbex.com
Eclipse Public License 2.0
5 stars 3 forks source link

[Epic] Integration Tests #171

Open BorisNen opened 2 years ago

BorisNen commented 2 years ago

From xsk created by ThuF: SAP/xsk#77

Step executing integration test scenarios to be added to the Build and Pull Request GitHub Actions. The integration test should perform the following actions:

  1. Deploy sap/xsk docker image to Kubernetes or Kyma cluster.
  2. Invoke Dirigible REST APIs in order to Import and Publish the *.zip samples or designated integration test projects.
  3. Invoke sample's REST APIs in order to determine whether the test passed successfully or not.
    • Note: the integration test should be time tolerant (e.g. 1-2 min.), so that all Dirigible synchronizers should have enough time to pass successfully.
  4. Invoke sample's REST APIs to unpublish and delete the created artefacts in the SAP HANA Cloud instance.

Failure case: If there's failure (in the test or caused by a synchronizer), the logs should be dumped in the action for debugging purposes.

Issues in epic

BorisNen commented 2 years ago

Consider parallel executions - ie when multiple PRs are open and tests are executed at the same time. Maybe use templating in the test and add the pr number as a prefix/suffix

BorisNen commented 2 years ago

Maybe if we run consecutively - when stop the previous to start new one. changes: #754.