Skip to content

Commit d1c7b5b

Browse files
author
Kerkesni
committed
fixup! support crr location in the locationConstaint config list
1 parent a1321f4 commit d1c7b5b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/multipleBackend/backendHealthcheckResponse.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ describe('Healthcheck response', () => {
2222
clientCheck(true, log, (err, results) => {
2323
const resultKeys = Object.keys(results);
2424
locConstraints.forEach(constraint => {
25-
if (constraint === 'location-dmf-v1') {
26-
// FIXME: location-dmf-v1 not in results, see CLDSRV-440
25+
if (constraint === 'location-dmf-v1' || constraint === 'location-crr-v1') {
26+
// FIXME: location-dmf-v1 and location-crr-v1 are not in results, see CLDSRV-440
2727
return;
2828
}
2929
assert(resultKeys.includes(constraint), `constraint: ${constraint} not in results: ${resultKeys}`);
@@ -45,8 +45,8 @@ describe('Healthcheck response', () => {
4545
clientCheck(false, log, (err, results) => {
4646
assert.notStrictEqual(results.length, locConstraints.length);
4747
locConstraints.forEach(constraint => {
48-
if (constraint === 'location-dmf-v1') {
49-
// FIXME: location-dmf-v1 not in results, see CLDSRV-440
48+
if (constraint === 'location-dmf-v1' || constraint === 'location-crr-v1') {
49+
// FIXME: location-dmf-v1 and location-crr-v1 are not in results, see CLDSRV-440
5050
return;
5151
}
5252
if (Object.keys(results).indexOf(constraint) === -1) {

0 commit comments

Comments
 (0)