Skip to content

Commit

Permalink
template cluster id in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dwelch-spike committed Dec 3, 2024
1 parent 8c07a67 commit 3a16ff2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
16 changes: 12 additions & 4 deletions docker/multi-node/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ services:
# - "3000:3000"
volumes:
- ./config/aerospike.conf:/opt/aerospike/etc/aerospike/aerospike.conf
- ./config/features.conf:/opt/aerospike/etc/aerospike/features.conf
- type: bind
source: ./config/features.conf
target: /opt/aerospike/etc/aerospike/features.conf
command:
- "--config-file"
- "/opt/aerospike/etc/aerospike/aerospike.conf"
Expand All @@ -25,7 +27,9 @@ services:
- "10000:10000"
volumes:
- ./config/aerospike-vector-search-1.yml:/etc/aerospike-vector-search/aerospike-vector-search.yml
- ./config/features.conf:/etc/aerospike-vector-search/features.conf
- type: bind
source: ./config/features.conf
target: /etc/aerospike-vector-search/features.conf
healthcheck:
test: ["CMD", "curl", "-f", "http://avs-1:5040/manage/rest/v1"]
interval: 5s
Expand All @@ -42,7 +46,9 @@ services:
- "10001:10001"
volumes:
- ./config/aerospike-vector-search-2.yml:/etc/aerospike-vector-search/aerospike-vector-search.yml
- ./config/features.conf:/etc/aerospike-vector-search/features.conf
- type: bind
source: ./config/features.conf
target: /etc/aerospike-vector-search/features.conf
healthcheck:
test: ["CMD", "curl", "-f", "http://avs-2:5040/manage/rest/v1"]
interval: 5s
Expand All @@ -59,7 +65,9 @@ services:
- "10002:10002"
volumes:
- ./config/aerospike-vector-search-3.yml:/etc/aerospike-vector-search/aerospike-vector-search.yml
- ./config/features.conf:/etc/aerospike-vector-search/features.conf
- type: bind
source: ./config/features.conf
target: /etc/aerospike-vector-search/features.conf
healthcheck:
test: ["CMD", "curl", "-f", "http://avs-3:5040/manage/rest/v1"]
interval: 5s
Expand Down
4 changes: 2 additions & 2 deletions e2e_multi_node_LB_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func (suite *MultiNodeLBCmdTestSuite) TestNodeListCmd() {
true,
`Nodes
,Node,Roles,Endpoint,Cluster ID,Version,Visible Nodes
1,Seed,[INDEX_QUERY INDEX_UPDATE],127.0.0.1:10000,7975277036330396396,1.0.0,"{
1,Seed,[INDEX_QUERY INDEX_UPDATE],localhost:10000,<cluster-id>,<version>,"{
1103823447824: [1.1.1.1:10000]
2207646885648: [2.2.2.2:10000]
3311470323472: [3.3.3.3:10000]
Expand All @@ -80,7 +80,7 @@ Possible scenarios:
false,
`Nodes
,Node,Roles,Endpoint,Cluster ID,Version,Visible Nodes
1,LB,N/A,127.0.0.1:10000,7975277036330396396,1.0.0,"{
1,LB,N/A,localhost:10000,<cluster-id>,<version>,"{
1103823447824: [1.1.1.1:10000]
2207646885648: [2.2.2.2:10000]
3311470323472: [3.3.3.3:10000]
Expand Down

0 comments on commit 3a16ff2

Please sign in to comment.