Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
whatyouhide committed Oct 13, 2023
1 parent 3ac6780 commit c83bc0f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down
7 changes: 7 additions & 0 deletions test/xandra/cluster_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c83bc0f

Please sign in to comment.