ci: add integration test for session replication#281
Conversation
…and readiness check
…e and Playwright install
mcollovati
left a comment
There was a problem hiding this comment.
I think it would be good to add integration tests that run with the serialization debug tool without the need for a Kubernetes cluster. Those tests could be executed locally to get early feedback about serialization issues; they could possibly run for every PR
Given that, I would rename the workflow file to something more specific, like kubernetes-test.yml for example.
In addition, I'd suggest adding a @Tag("kubernetes") to the integration test class and configuring failsafe to not run them by default. The workflow should then provide a system parameter to activate that tag only
Another point to consider is to run the same test also with Hazelcast. I'm not sure what could be the best way; it might be separated jobs or just conditional steps based on an input with default redis, so Hazelcast can only be dispatched manually.
But can be improved later or.
The last one (also doable separately) is to clean up the demo POM. It still runs prepare-frontend and has the separated production profile.
Co-authored-by: Giovanni Lovato <giovanni@lova.to>
- Rename workflow to kubernetes-test.yml (more specific) - Add @tag("kubernetes") to IT, exclude from failsafe by default - Fail step explicitly if port-forward never becomes ready - Upload full app/redis/envoy logs as artifact on failure
|
Depends on #283 to fix flaky tests. |
…-session-replication # Conflicts: # kubernetes-kit-demo/pom.xml
…-session-replication
Summary
integration-testMaven profile to the demo module with Playwright and maven-failsafe-plugin dependenciesTest plan
push)