Skip to content

Commit

Permalink
Changes test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pablo authored and pablo committed Apr 15, 2024
1 parent 469ac1f commit a9dff8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
docker run --name test-cassandra -d -p 9042:9042 cassandra:3.11 --restart unless-stopped \
-v ${GITHUB_WORKSPACE}/setup/cassandra.yaml:/etc/cassandra/cassandra.yaml \
cassandra:3.11
chmod u+x setup/wait-container-ready.sh && ./setup/wait-container-ready.sh test-cassandra
sleep 30
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
2 changes: 1 addition & 1 deletion setup/wait-container-ready.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sleep 30
sleep 30

0 comments on commit a9dff8a

Please sign in to comment.