Description
SessionTest.testSaveInvalidStateException fails in OAK because save() implicitly calls refresh(true) (which is good), but refresh(true) discards pending changes (because the node being modified is gone in persistent storage).
See also mail thread starting here: http://mail-archives.apache.org/mod_mbox/jackrabbit-oak-dev/201206.mbox/browser