i'm using the new feature: Bitpucket Piplines and it works well. Now i'm trying integration tests with an cassandra db, deployed with docker.
How can i populate a schema to fresh cassandra? A keyspace and tables, config?
- npm install -g ntypescript
- npm install -g mocha
- npm install
- npm run-script compile
- sleep 15
- npm run-script local:migrate
- npm test
MAX_HEAP_SIZE: 512M # Need to restrict the heapsize or else Cassandra will OOM
The tests will run after i compiled my typescripts into js and i waited 15 seconds for the cassandra setup. The i populate data to a running cassandra db, but i need to setup the schema first? How can i do this?
With cqlsh its possible, but how can i access cql? Do i have to install it or do i have to some command like: docker exec cassandra bash ?? Thank you very much for help.
Hey Community! I work on the Bitbucket product marketing team. With Halloween approaching, we wanted to discuss a topic tailor-made for October: development horror stories. Whether it was a lurk...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events