diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b966b01a..0c35bdd3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -105,7 +105,7 @@ jobs: elixir: "1.15.4" test_only_cassandra: true cassandra_version: "4.1" - cassandra_native_protocol: "v4" + cassandra_native_protocol: "v5" env: CASSANDRA_VERSION: ${{ matrix.server_versions.cassandra }} @@ -161,7 +161,7 @@ jobs: # TODO: eventually figure out why we can't run encryption tests on CI. - name: Run tests for Cassandra and Scylla if: ${{ !matrix.test_only_cassandra }} - run: mix test.all --trace --exclude encryption --exclude ccm + run: mix test.all --trace --exclude encryption --exclude ccm --only tmp - name: Run tests for Cassandra only if: ${{ matrix.test_only_cassandra }} diff --git a/test/xandra/cluster_test.exs b/test/xandra/cluster_test.exs index c2fc087f..ae75e403 100644 --- a/test/xandra/cluster_test.exs +++ b/test/xandra/cluster_test.exs @@ -917,6 +917,13 @@ defmodule Xandra.ClusterTest do end end + @tag :tmp + @tag :toxiproxy + test "[tmp] Toxiproxy goes through", %{base_options: opts} do + opts = Keyword.merge(opts, sync_connect: 1000, nodes: ["127.0.0.1:19052"]) + assert {:ok, _pid} = start_supervised({Cluster, opts}) + end + defp get_state(cluster) do assert {_state, data} = :sys.get_state(cluster) data