leveled/test/end_to_end
Martin Sumner 6223b801f3
Mas d31 i410looptoclose (#421)
* Mas i410 looptoclose (#420)

* Stop waiting full SHUTDOWN_PAUSE

If there is a snapshot outstanding at shutdown time, there was a wait of SHUTDOWN_PAUSE to give the snapshot time to close down.

This causes an issue in kv_index_tictactree when rebuilds complete, when an exchange was in flight at the point the rebuild completed - the aae_controller will become blocked for the full shutdown pause, whilst it waits for the replaced key store to be closed.

This change is to loop within the shutdown pause, so that if the snapshot supporting the exchange is closed, the paused bookie can close more quickly (unblocking the controller).

Without this fix, there are intermittent issues in kv_index_tictactree's mockvnode_SUITE tests.

* Address test reliability

Be a bit clearer with waiting round seconds,  Was intermittently failing on QR4 previously (but QR5 1s later was always OK).

* Update iterator_SUITE.erl

* Refine test assertion

At Stage C there might be 0 files left, in which case equality with Stage D result is ok.
2023-11-10 15:04:47 +00:00
..
appdefined_SUITE.erl Issue with tag order 2020-03-16 16:35:06 +00:00
basic_SUITE.erl Mas d31 i410looptoclose (#421) 2023-11-10 15:04:47 +00:00
iterator_SUITE.erl Mas d31 i410looptoclose (#421) 2023-11-10 15:04:47 +00:00
perf_SUITE.erl Change refernces to loop state records 2021-01-11 10:39:34 +00:00
recovery_SUITE.erl Mas d31 i413 (#415) 2023-11-08 09:18:01 +00:00
riak_SUITE.erl Develop 3.1 d30update (#386) 2022-12-18 20:18:03 +00:00
testutil.erl Mas i389 rebuildledger (#390) 2023-01-18 11:45:10 +00:00
tictac_SUITE.erl Mas d31 i413 (#415) 2023-11-08 09:18:01 +00:00