Apply query timeouts to Oracle follow-on locking

Description

Failing LockTest tests:

testContendedPessimisticLock (javax.persistence.RollbackException: Transaction marked as rollbackOnly)
testQueryTimeout (java.lang.AssertionError: background test thread timed out on lock attempt)
testQueryTimeoutEMProps (java.lang.AssertionError: background test thread timed out on lock attempt)

Most likely related to follow-on locking.

Environment

None

Status

Assignee

Vlad Mihalcea

Reporter

Brett Meyer

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Priority

Major
Configure