Make tests compatible with OTP 16

this required a switch to change the sync strategy based on rebar parameter.

However tests could be slow on macbook with OTP16 and sync - so timeouts added in unit tests, and ct tests sync_startegy changed to not sync for OTP16.
This commit is contained in:
Martin Sumner 2017-09-15 15:10:04 +01:00
parent 605a8b1e73
commit eba21f49fa
8 changed files with 63 additions and 13 deletions

View file

@ -1,7 +1,8 @@
{erl_opts, [warnings_as_errors,
{platform_define, "18", old_rand},
{platform_define, "17", old_rand},
{platform_define, "^R", old_rand}]}.
{platform_define, "^R", old_rand},
{platform_define, "^R", no_sync}]}.
{profiles,
[{eqc, [{deps, [meck, fqc]},