Community
Participate
Working Groups
Created attachment 114592 [details] Changes how arguements are added to processing steps We ran into a problem where we noted that processing steps read into memory did not match those in the artifact.xml file
Forgot to mention: we briefly verified that the writer behaved correctly.
I have released the patch. Could you please add two regression tests: - one that from a repository get the packed artifact and verify that its is the same one than the canonical version of it - one that read a repository and confirm that the required attribute and the data attribute in the processingstepdescriptor are correct.
Created attachment 114834 [details] Test to verify processing steps are carried out correclty Note: I have other outgoing changes pending in the file so I could not create a patch. Place this code at the bottom of ArtifactMirrorApplicationTest.java. This executes a packed artifact's processing steps and then verifies the file size against the canonical equivalent artifact in the source. Also note that in my updated patch for bug 249996 I included a temporary isEqual(IArtifactDescriptor, IArtifactDescriptor) method in AbstractProvisionTest which is called whenever assertContains is called. This should verify the data and required attributes of the processing step descriptors.
Andrew could you please create an updated patch of the change in the IO class. Thx
test case released.
*** Bug 249372 has been marked as a duplicate of this bug. ***