migtools / mig-e2e

End to end tests for OCP Migration
Apache License 2.0
0 stars 11 forks source link

Add ocp-24871-datagrid testcase #51

Closed sergiordlr closed 4 years ago

sergiordlr commented 4 years ago

Add ocp-24871-datagrid

  1. Creates a datagrid-service application using the datagrid-service template stored in "openshift" namespace
  2. Build a small client application that can communicate with the datagrid service in order to create caches and populate them using the hotrod interface.
  3. Creates a cronjob that will use curl to make http requests to the datagrid-service api rest to populate a cache every minute with new information.
  4. Migrates the namespace that contains all of this.
  5. Verify that after the migration the old data is still there, and that we can insert new data.

Hotrod communication is done using the certificates stored in the datagrid-service via https. This test, apart from verifying that datagrid is actually being migrated properly, checks that services with service.alpha.openshift.io/serving-cert-secret-name annotation are handled properly too.