From bc54a4153f467316ed01b2ac4a4a04b3fa794127 Mon Sep 17 00:00:00 2001 From: pablo Date: Mon, 15 Apr 2024 18:36:09 +0200 Subject: [PATCH] test --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e7ed1d7..c417f55 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,10 +27,10 @@ jobs: # Starts the DBMS containers when applicable - name: Launch Cassandra run: | - docker run --name test-cassandra -d -p 9042:9042 cassandra:3.11 --restart unless-stopped \ + docker run --name test-cassandra --restart unless-stopped -d -p 9042:9042 cassandra:3.11 \ + -v ${GITHUB_WORKSPACE}/setup/cassandra.yaml:/etc/cassandra/cassandra.yaml \ cassandra:3.11 sleep 30 - docker logs test-cassandra docker exec test-cassandra cqlsh localhost 9042 -e "CREATE ROLE testcassandra WITH PASSWORD = '$TEST_CASSANDRA_PWD' AND LOGIN = true;" docker exec test-cassandra cqlsh localhost 9042 -e "GRANT ALL PERMISSIONS on ALL KEYSPACES to testcassandra;"