Add possibility to run keycloak functional testsuite against a cluster
It could be beneficial to have ability to run Keycloak testsuite (probably just a subgroup of tests) against a cluster to verify the deployment. For example whether expiration (lifespan, max-idle) works in crossdc setup, or whether any change in deployment's configuration didn't introduce a security issue, etc.
@martin-kanis I understand the value in running Keycloak testsuite against a crossdc setup, however that would be a case to be made in Keycloak and testsuite is probably the right place to host such mechanism. WDYT ? We did explore in the past to see if https://github.com/kami619/KeycloakWithTestKube something like this is possible, but it didn't get much of traction.
Ideas for tests: We need to test and (automate? document?) the following steps for sessions and users:
- Touch data in primary DC so it is in the cache
- Switch to secondary DC, bring primary offline (killing router?)
- Update the data in the secondary DC
- Switch to primary DC, bring it online (starting router)
- Touch data in primary DC to see that it has the old data
The purpose of this exercise is to create a test/way to find out whether our DC recovery strategy works correctly.