49c8e94480
Create a storj-sim test that checks that uplinks operations works when satellite runs and can connect to Redis and when it cannot connect to simulate a Redis downtime. Also verifies that the satellite can start despite of Redis being downtime. This test currently doesn't pass and it will be the one used to verify the work that has to be done to make sure that the satellite allow the clients to perform their operations despite of Redis being unavailable. We require these changes before we deploy any customer face satellite on a multi-region architecture. NOTE that this test will be added later on to Jenkins to run this test every time that we apply changes and at that time we'll see if it has to be adjusted for being able to run on Jenkins because as it's now it may not work because the scripts start and stop a Redis docker container. Change-Id: I22acb22f0ca594583e36b45c88f8c03bac73b329
9 lines
217 B
Bash
Executable File
9 lines
217 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
SCRIPTDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
|
|
|
|
# shellcheck source=/postgres-dev.sh
|
|
source "${SCRIPTDIR}/postgres-dev.sh"
|
|
|
|
"${SCRIPTDIR}/test-sim-redis-up-and-down.sh"
|