My batch job is failing with the folowing error :
System.UnexpectedException: Error processing messages
In the debug log its pointing to the Test.stopTest(); line ; which I think has no relation to this issue.
My batch job archives the content recods based on business defined criteria. the batch class works fine!
I'm updating ContentDocument records in my batch class. I'm not sure if there is any sfdc limitation on updating this object (ContentDocument) in test run mode.