Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362810 - Add precondition failed tests for incorrect ETags when updating resources
Summary: Add precondition failed tests for incorrect ETags when updating resources
Status: CLOSED FIXED
Alias: None
Product: Lyo
Classification: Technology
Component: TestSuite (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Samuel Padgett CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-03 11:50 EDT by Samuel Padgett CLA
Modified: 2013-05-23 09:13 EDT (History)
3 users (show)

See Also:


Attachments
Add precondition failed tests for JSON, XML, and RDF/XML updates (8.98 KB, patch)
2011-11-03 11:55 EDT, Samuel Padgett CLA
samuel.padgett: review?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Padgett CLA 2011-11-03 11:50:35 EDT
Build Identifier: 

We should verify that providers respond with 412 Precondition Failed when an invalid ETag is passed in an If-Match header when updating resources.

Reproducible: Always
Comment 1 Samuel Padgett CLA 2011-11-03 11:55:53 EDT
Created attachment 206414 [details]
Add precondition failed tests for JSON, XML, and RDF/XML updates

Adds a common updateCreatedResourceWithFailedPrecondition() method to CreationAndUpdateBaseTests, called from JSON, XML, and RDF/XML test cases.
Comment 3 Samuel Padgett CLA 2013-05-23 09:13:20 EDT
Closing...