The test case that you mentioned is not deterministic since when the abort is triggered, the number of records having been inserted and committed is not deterministic. That's why the test case executes a count query right after the abort is triggered and the result from the count query is stored temporarily and then after the system restarted, it checks that the recovered system has the same number of records as the count query got.
On Tue, Jul 19, 2016 at 9:22 PM, Taewoo Kim <[email protected]> wrote: > Hello All, > > I'm trying to add a test case for RecoverIT. When I check the query > directory, I found that there is not a corresponding 'result' directory for > some test cases. For example, primary_plus_rtree_index test cases in > > /asterix-installer/src/test/resources/transactionts/queries/recover_after_abort/primary_plus_rtree_index > directory doesn't have the corresponding 'result' directory. How do we > check the succeed or fail in this case? If it executes, then it is regarded > as success? Can I put the expected result in 'result' directory like > Execution Tests? >
