8000 S3C-184 TEST: add getObject versioning tests by nicolas2bert · Pull Request #703 · scality/cloudserver · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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

Merged
merged 1 commit into from
Apr 20, 2017
Merged

Conversation

nicolas2bert
Copy link
Contributor
@nicolas2bert nicolas2bert commented Apr 19, 2017

Add more tests for getObject versioning.

const testing = process.env.VERSIONING === 'no' ? describe.skip : describe;

testing('get object with versioning', function testSuite() {
this.timeout(600000);
Copy link
Contributor

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 ' +
Copy link
Contributor

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 ' +
Copy link
Contributor

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',
Copy link
Contributor

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', () => {
Copy link
Contributor

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() {
Copy link
Contributor

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', () => {
Copy link
Contributor

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

@nicolas2bert
Copy link
Contributor Author

@ironman-machine try

@ironman-machine
Copy link
Contributor

Hello @nicolas2bert

Starting end to end procedure using the following payload:
{"REPO_NAME": "S3", "DEFAULT_BRANCH": "master", "SCALITY_S3_BRANCH": "test/getObject"}

Please follow http://ci.ironmann.io/gh/scality/Integration/12036 for CI status.

@LaurenSpiegel LaurenSpiegel merged commit 284d0bc into master Apr 20, 2017
@LaurenSpiegel LaurenSpiegel deleted the test/getObject branch April 20, 2017 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0