Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
benzekrimaha committed Jan 22, 2025
1 parent 40c3696 commit d5328a0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/functional/utils/S3UtilsMongoClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ describe('S3UtilsMongoClient::getObjectMDStats', () => {

afterEach(done => client.deleteBucket(BUCKET_NAME, logger, done));

it.only(`Should get correct results ${variation.it}`, done => {
it(`Should get correct results ${variation.it}`, done => {
const expected = {
versions: BigInt(1),
objects: BigInt(2),
Expand Down Expand Up @@ -1636,9 +1636,9 @@ describe('S3UtilsMongoClient::updateBucketCapacityInfo', () => {
it(`Should correctly update CapacityInfo attributes ${variation.it}`, done => {
const startTime = new Date();
const capacityInfo = {
Capacity: 30,
Available: 10,
Used: 10,
Capacity: BigInt(30),
Available: BigInt(10),
Used: BigInt(10),
};
async.series([
next => client.createBucket(BUCKET_NAME, bucketMD, logger, next),
Expand All @@ -1651,9 +1651,9 @@ describe('S3UtilsMongoClient::updateBucketCapacityInfo', () => {
const {
Capacity, Available, Used, LastModified,
} = bucketInfo.getCapabilities().VeeamSOSApi.CapacityInfo;
assert.strictEqual(Capacity, 30);
assert.strictEqual(Available, 10);
assert.strictEqual(Used, 10);
assert.strictEqual(Capacity, BigInt(30));
assert.strictEqual(Available, BigInt(10));
assert.strictEqual(Used, BigInt(10));
assert(new Date(LastModified) > startTime);
assert(new Date(LastModified) < new Date());
next();
Expand Down

0 comments on commit d5328a0

Please sign in to comment.