https://github.com/akka/akka-upgrade-testing
Test rolling upgrades for Akka remote/cluster
https://github.com/akka/akka-upgrade-testing
Last synced: 4 months ago
JSON representation
Test rolling upgrades for Akka remote/cluster
- Host: GitHub
- URL: https://github.com/akka/akka-upgrade-testing
- Owner: akka
- Created: 2019-07-19T06:58:59.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-08-07T07:42:04.000Z (over 2 years ago)
- Last Synced: 2024-03-25T20:54:59.352Z (almost 2 years ago)
- Language: Scala
- Size: 184 KB
- Stars: 2
- Watchers: 10
- Forks: 4
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Akka Upgrade Testing
Tests to show that rolling upgrades that upgrade Akka function.
* Changes to serialisation
A cluster is started in `mimikube` and for versions in a list is half upgraded,
tests run to make sure there is communication between nodes and then the upgrade
is completed.
Future improvements:
* Have tests that exercise:
* Sharding
* Singletons
* Distributed data
## Log verification
During each upgrade logs are checked for WARNs and ERRORs to catch any issues with the multi version cluster.
There is a whitelist of logs in `RollingUpgradeSpec` that can be used to allow certain logs.
## Cron job and snapshots
Once a day a Cron job runs the upgrade test with the latest the pre-configured versions as well as the
latest 2.5 and 2.6 nightly snapshots.
## Running locally
Have minikube running and setup docker to point to minikube's VM e.g. run:
```
eval $(minikube docker-env)
```
Modify `akkaVersions` in `RollingUpgradeSpec` to include the versions of Akka under test then run:
```
sbt "It/test"
```