Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mint Test file name to object name fix #979

Merged
merged 1 commit into from
Nov 23, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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