Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
benzekrimaha committed Nov 6, 2024
1 parent 6ae7cab commit 797cb49
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/functional/replication/queueProcessor.js
Original file line number Diff line number Diff line change
Expand Up @@ -962,8 +962,8 @@ describe('queue processor functional tests with mocking', () => {
}),
], done);
});

it('should retry with full replication if metadata-only returns ' +
// eslint-disable-next-line mocha/no-exclusive-tests
it.only('should retry with full replication if metadata-only returns ' +
'ObjNotFound', done => {
s3mock.setParam('nbParts', 2);
s3mock.setParam('source.md.replicationInfo.content',
Expand All @@ -977,10 +977,14 @@ describe('queue processor functional tests with mocking', () => {
},
done => queueProcessorSF.processReplicationEntry(
s3mock.getParam('kafkaEntry'), err => {
/* eslint-disable no-console */
console.log('err', err);
assert.ifError(err);
console.log(s3mock.hasPutTargetData, s3mock.hasPutTargetMd);
assert.strictEqual(s3mock.hasPutTargetData, true);
assert(s3mock.hasPutTargetMd);
done();
/* eslint-disable no-console */
}),
], done);
});
Expand Down

0 comments on commit 797cb49

Please sign in to comment.