Skip to content

Commit

Permalink
fix: mint test file name (#979)
Browse files Browse the repository at this point in the history
  • Loading branch information
prakashsvmx authored Nov 23, 2021
1 parent bf379d5 commit b01b6ef
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/test/functional/functional-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -1335,7 +1335,7 @@ describe('functional tests', function() {
describe('Versioning tests on a buckets', function () {
//Isolate the bucket/object for easy debugging and tracking.
const versionedBucketName = "minio-js-test-version-" + uuid.v4()
const versioned_100kbObjectName = 'datafile-versioned-100-kB'
const versioned_100kbObjectName = 'datafile-100-kB'
const versioned_100kb_Object = dataDir ? fs.readFileSync(dataDir + '/' + versioned_100kbObjectName) : Buffer.alloc(100 * 1024, 0)

before((done) => client.makeBucket(versionedBucketName, '', done))
Expand Down Expand Up @@ -1385,7 +1385,7 @@ describe('functional tests', function() {
describe('Versioning tests on a buckets: getObject, fGetObject, getPartialObject, putObject, removeObject with versionId support', function () {
//Isolate the bucket/object for easy debugging and tracking.
const versionedBucketName = "minio-js-test-version-" + uuid.v4()
const versioned_100kbObjectName = 'datafile-versioned-100-kB'
const versioned_100kbObjectName = 'datafile-100-kB'
const versioned_100kb_Object = dataDir ? fs.readFileSync(dataDir + '/' + versioned_100kbObjectName) : Buffer.alloc(100 * 1024, 0)

before((done) => client.makeBucket(versionedBucketName, '', done))
Expand Down Expand Up @@ -1482,7 +1482,7 @@ describe('functional tests', function() {
describe('Versioning Supported listObjects', function() {
const versionedBucketName = "minio-js-test-version-list" + uuid.v4()
const prefixName = "Prefix1"
const versionedObjectName ="datafile-versioned-list-100-kB"
const versionedObjectName ="datafile-100-kB"
const objVersionIdCounter = [1,2,3,4,5]// This should track adding 5 versions of the same object.
let listObjectsNum = objVersionIdCounter.length
let objArray = []
Expand Down Expand Up @@ -1574,7 +1574,7 @@ describe('functional tests', function() {
describe('Versioning tests on a bucket for Deletion of Multiple versions', function () {
//Isolate the bucket/object for easy debugging and tracking.
const versionedBucketName = "minio-js-test-version-" + uuid.v4()
const versioned_100kbObjectName = 'datafile-versioned-100-kB'
const versioned_100kbObjectName = 'datafile-100-kB'
const versioned_100kb_Object = dataDir ? fs.readFileSync(dataDir + '/' + versioned_100kbObjectName) : Buffer.alloc(100 * 1024, 0)

before((done) => client.makeBucket(versionedBucketName, '', done))
Expand Down Expand Up @@ -1692,7 +1692,7 @@ describe('functional tests', function() {
after((done) => client.removeBucket(tagsBucketName, done))


const tagObjName = 'datafile-tags-100-kB'
const tagObjName = 'datafile-100-kB'
const tagObject = Buffer.alloc(100 * 1024, 0)


Expand Down Expand Up @@ -1742,7 +1742,7 @@ describe('functional tests', function() {
after((done) => client.removeBucket(tagsVersionedBucketName, done))


const tagObjName = 'datafile-versioned-100-kB'
const tagObjName = 'datafile-100-kB'
const tagObject = Buffer.alloc(100 * 1024, 0)
let isVersioningSupported=false
let versionId=null
Expand Down Expand Up @@ -2264,7 +2264,7 @@ describe('functional tests', function() {
after((done) => client.removeBucket(encBucketName, done))


const encObjName = 'datafile-to-encrypt-100-kB'
const encObjName = 'datafile-100-kB'
const encObjFileContent = Buffer.alloc(100 * 1024, 0)
let isEncryptionSupported = false

Expand Down

0 comments on commit b01b6ef

Please sign in to comment.