Wait for transaction completion here to fix test race.

git-svn-id: http://svn.terracotta.org/svn/ehcache@9470 b9324663-ca0f-0410-8574-be9b3887307d
Merged r9470


git-svn-id: http://svn.terracotta.org/svn/ehcache@9471 b9324663-ca0f-0410-8574-be9b3887307d
Merged r9470


git-svn-id: http://svn.terracotta.org/svn/ehcache@9472 b9324663-ca0f-0410-8574-be9b3887307d
Merged r9470


git-svn-id: http://svn.terracotta.org/svn/ehcache@9473 b9324663-ca0f-0410-8574-be9b3887307d