-
Notifications
You must be signed in to change notification settings - Fork 246
S3C-184 TEST: add getObject versioning tests #703
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
Conversation
const testing = process.env.VERSIONING === 'no' ? describe.skip : describe; | ||
|
||
testing('get object with versioning', function testSuite() { | ||
this.timeout(600000); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove
}); | ||
}); | ||
|
||
it('should not be able to get an object that has been delete ' + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it should return NoSuchKey if get object without version and latest version is a delete marker
10000
}); | ||
}); | ||
|
||
it('should not be able to get a delete marker without ' + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it should return NoSuchKey if try to get object whose latest version is a delete marker
}); | ||
}); | ||
|
||
it('should be able to get an object using its versionId', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it should be able to get a version that was put prior to the delete marker
}); | ||
}); | ||
|
||
describe('getting a object that has been deleted', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
behavior when put version with content then put delete marker
|
||
const testing = process.env.VERSIONING === 'no' ? describe.skip : describe; | ||
|
||
testing('get object with versioning', function testSuite() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
get behavior after delete with versioning
}); | ||
}); | ||
|
||
describe('get a delete marker', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
behavior when only version put is a delete marker
d871d29
to
467ed65
Compare
467ed65
to
39baa0b
Compare
@ironman-machine try |
Hello @nicolas2bert Starting end to end procedure using the following payload: Please follow http://ci.ironmann.io/gh/scality/Integration/12036 for CI status. |
Add more tests for getObject versioning.