diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index cce4f94c..1674ab0a 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -12,6 +12,15 @@ jobs: test: runs-on: ubuntu-latest services: + scylladb: + image: scylladb/scylla:4.4.3 + ports: + - 9042:9042 + options: >- + --health-cmd="cqlsh -e 'describe keyspaces;'" + --health-interval=10s + --health-timeout=5s + --health-retries=5 couchdb: image: couchdb ports: diff --git a/test/lib/databases.ts b/test/lib/databases.ts index 7d408b55..0076f9fe 100644 --- a/test/lib/databases.ts +++ b/test/lib/databases.ts @@ -23,6 +23,22 @@ export const databases:DatabaseType = { removeMax: 0.5, }, }, + cassandra:{ + hosts: ["127.0.0.1:9160"], + keyspace: "oae", + cfName: "Etherpad", + user: "", + pass: "", + timeout: 3000, + replication: 1, + strategyClass: "SimpleStrategy", + speeds: { + setMax: 0.6, + getMax: 0.5, + findKeysMax: 2.5, + removeMax: 0.5, + }, + }, mysql: { user: 'ueberdb', host: '127.0.0.1',