Skip to content

Commit f8e16c6

Browse files
committed
crr fixup on tests
1 parent f7e60ad commit f8e16c6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/unit/api/objectReplicationMD.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,14 +367,15 @@ describe('Replication object MD without bucket replication config', () => {
367367
config.locationConstraints['zenko'] = {
368368
...config.locationConstraints['zenko'],
369369
type: '',
370+
isCRR: true,
370371
};
371372

372373
async.series([
373374
next => putObjectAndCheckMD(keyA, newReplicationMD, next),
374375
next => {
375376
const objectMD = metadata.keyMaps.get(bucketName).get(keyA);
376377
// Update metadata to a status after replication has occurred.
377-
objectMD.replicationInfo.status = 'COMPLETED';
378+
objectMD.replicationInfo.status = 'PENDING';
378379
objectPutACL(authInfo, objectACLReq, log, next);
379380
},
380381
], err => {

0 commit comments

Comments
 (0)