Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test case: Abort half way through a transaction #1

Open
fpj opened this issue Apr 13, 2020 · 0 comments
Open

Test case: Abort half way through a transaction #1

fpj opened this issue Apr 13, 2020 · 0 comments
Assignees

Comments

@fpj
Copy link
Owner

fpj commented Apr 13, 2020

Add a test case that aborts part way into writing events from a file. Currently, the test enabled with duringTxnFlag aborts after all events have been written but before commit:

https://github.com/fpj/eo-ingestion/blob/master/src/test/java/io/pravega/eoi/PravegaSynchronizedWriterTest.java#L79

This is a good test. However, another interesting test would be aborting after just a few of the events in a transaction have been written. Specifically, I mean aborting part way in the loop that begins here:

https://github.com/fpj/eo-ingestion/blob/master/src/main/java/io/pravega/eoi/PravegaSynchronizedWriter.java#L232

@fpj fpj self-assigned this Apr 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant