8000 Update resilience-synchronous-repl-with-arangosearch-view-cluster.js · arangodb/arangodb@4341e3f · GitHub
[go: up one dir, main page]

Skip to content

Commit 4341e3f

Browse files
authored
Update resilience-synchronous-repl-with-arangosearch-view-cluster.js
1 parent 0064805 commit 4341e3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/js/server/resilience/failover-view/resilience-synchronous-repl-with-arangosearch-view-cluster.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ function SynchronousReplicationWithViewSuite () {
162162
////////////////////////////////////////////////////////////////////////////////
163163

164164
function healLeader(leader) {
165-
if (leader == null) leader = cinfo.shards[shards[0]][1];
165+
if (leader == null) leader = cinfo.shards[shards[0]][0];
166166
var endpoint = global.ArangoClusterInfo.getServerEndpoint(leader);
167167
// Now look for instanceInfo:
168168
var pos = _.findIndex(global.instanceInfo.arangods,

0 commit comments

Comments
 (0)
0