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 916ce31
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"scripts": {
"lint": "eslint $(git ls-files '*.js')",
"test:unit": "LOCATION_CONFIG_FILE='tests/conf/locationConfig.json' yarn jest --verbose --logHeapUsage --projects jest.config.js --coverage --testPathPattern='tests/unit/[\\w/-]+\\.[tj]s'",
"test:functional": "LOCATION_CONFIG_FILE='tests/conf/locationConfig.json' yarn jest --verbose --logHeapUsage --projects jest.config.js --coverage --testPathPattern='tests/functional/utils/S3UtilsMongoClient.js'"
"test:functional": "LOCATION_CONFIG_FILE='tests/conf/locationConfig.json' yarn jest --verbose --logHeapUsage --projects jest.config.js --coverage --testPathPattern='tests/functional/[\\w/-]+\\.[tj]s'"
},
"repository": {
"type": "git",
Expand All @@ -28,7 +28,7 @@
"dependencies": {
"@senx/warp10": "^1.1.2",
"JSONStream": "^1.3.5",
"arsenal": "git+https://github.com/scality/arsenal#c3c3c10f71d1513f704f1b22886fb9eaaf5f5ac2",
"arsenal": "git+https://github.com/scality/arsenal#3c8219beb3785a66d1a5d74b4dff14eda869348f",
"async": "^2.6.4",
"aws-sdk": "^2.1005.0",
"bucketclient": "git+https://github.com/scality/bucketclient#8.1.5",
Expand Down
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
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1593,9 +1593,9 @@ arrify@^1.0.1:
optionalDependencies:
ioctl "^2.0.2"

"arsenal@git+https://github.com/scality/arsenal#c3c3c10f71d1513f704f1b22886fb9eaaf5f5ac2":
"arsenal@git+https://github.com/scality/arsenal#3c8219beb3785a66d1a5d74b4dff14eda869348f":
version "8.1.145"
resolved "git+https://github.com/scality/arsenal#c3c3c10f71d1513f704f1b22886fb9eaaf5f5ac2"
resolved "git+https://github.com/scality/arsenal#3c8219beb3785a66d1a5d74b4dff14eda869348f"
dependencies:
"@azure/identity" "^3.1.1"
"@azure/storage-blob" "^12.12.0"
Expand Down

0 comments on commit 916ce31

Please sign in to comment.