Skip to content

Commit

Permalink
test node roles with mixed role cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
dwelch-spike committed Dec 3, 2024
1 parent 3a16ff2 commit 419125f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docker/multi-node/config/aerospike-vector-search-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ cluster:
# Unique identifier for this cluster.
cluster-name: multi-node-avs

node-roles:
- INDEX_QUERY

# The Proximus service listening ports, TLS and network interface.
service:
ports:
Expand Down
2 changes: 1 addition & 1 deletion e2e_multi_node_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func (suite *MultiNodeCmdTestSuite) TestNodeListCmd() {
fmt.Sprintf("node ls --format 1 --no-color --seeds %s", suite.AvsHostPort.String()),
`Nodes
,Node,Roles,Endpoint,Cluster ID,Version,Visible Nodes
1,139637976803088,[INDEX_QUERY INDEX_UPDATE],127.0.0.1:10000,<cluster-id>,<version>,"{
1,139637976803088,[INDEX_QUERY],127.0.0.1:10000,<cluster-id>,<version>,"{
139637976803089: [127.0.0.1:10001]
139637976803090: [127.0.0.1:10002]
}"
Expand Down

0 comments on commit 419125f

Please sign in to comment.