From a70f5ea0c63a075ce8856ab6d68aa154999d8ec4 Mon Sep 17 00:00:00 2001 From: Toby Bellwood Date: Sun, 4 Aug 2024 12:33:26 +1000 Subject: [PATCH] ci: fixup redis tests --- TESTING_dockercompose.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/TESTING_dockercompose.md b/TESTING_dockercompose.md index de07666..4dcda67 100644 --- a/TESTING_dockercompose.md +++ b/TESTING_dockercompose.md @@ -70,13 +70,13 @@ docker compose exec -T cli bash -c "yarn --version" docker compose exec -T cli bash -c "curl -kL http://nginx:8080" | grep "Drush Site-Install" # redis-7 Should be running Redis v7.0 -docker-compose exec -T redis sh -c "redis-server --version" | grep "v=7." +docker compose exec -T redis sh -c "redis-server --version" | grep "v=7." # redis-7 Should be able to see Redis databases -docker-compose exec -T redis sh -c "redis-cli CONFIG GET databases" +docker compose exec -T redis sh -c "redis-cli CONFIG GET databases" # redis-7 databases should be populated -docker-compose exec -T redis sh -c "redis-cli dbsize" | grep -Ev "^0$" +docker compose exec -T redis sh -c "redis-cli dbsize" | grep -Ev "^0$" # Should be able to db-export and db-import the database docker compose exec -T cli bash -c "drush sql-dump --result-file /app/test.sql"