Skip to content

Commit

Permalink
Check for the object not found error properly
Browse files Browse the repository at this point in the history
  • Loading branch information
KillianG committed Oct 17, 2024
1 parent ae001e3 commit e4f5d49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/functional/replication/queueProcessor.js
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,8 @@ describe('queue processor functional tests with mocking', () => {
{ once: true });
async.parallel([
done => queueProcessorSF.processReplicationEntry(
s3mock.getParam('kafkaEntry'), () => {
s3mock.getParam('kafkaEntry'), err => {
assert.deepStrictEqual(err, errors.ObjNotFound);
done();
}),
], done);
Expand Down

0 comments on commit e4f5d49

Please sign in to comment.