8000 Another place with a resigned leader. (#7352) · arangodb/arangodb@f167bb6 · GitHub
[go: up one dir, main page]

Skip to content

Commit f167bb6

Browse files
authored
Another place with a resigned leader. (#7352)
1 parent 404f910 commit f167bb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/server/tests/resilience/shard-distribution-spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ describe('Shard distribution', function () {
138138
_.forEach(distribution.Current, function (info, shard) {
139139
expect(info).to.have.all.keys(['leader', 'followers']);
140140

141-
expect(info.leader).to.match(/^DBServer/);
141+
expect(info.leader).to.match(/^DBServer|_/);
142142
assert.isArray(info.followers, 'The followers need to be an array');
143143

144144
// We have at most one replica per db server. They may not be in sync yet.

0 commit comments

Comments
 (0)
0