Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
pablo authored and pablo committed Apr 15, 2024
1 parent 042f030 commit bc54a41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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;"
Expand Down

0 comments on commit bc54a41

Please sign in to comment.