@Test
public void testAbortAbortedWithNonRetryableCause() throws Exception {
Exception abortCause = new IllegalArgumentException();
txn.abort(abortCause);
try {
txn.abort(new TransactionAbortedException("Aborted"));
fail("Expected TransactionNotActiveException");
} catch (TransactionNotActiveException e) {
System.err.println(e);
assertFalse(retryable(e));
assertEquals(abortCause, e.getCause());