Compile riak current/previous in OTP 24 and rtdev-install.sh;
Compile riak_test in OTP 22;
Switch environment to use OTP 24;
Run riak_test.
Attempts to compile riak_test in OTP 24 initially fail for parse_transform reasons in Riak. Speaking to other Riak users, lager has had to be removed as a pre-requisite for compiling in OTP 24. If riak_test is run from OTP 22, then this fails as building clusters in riak_test hash chceks which fail on:
Loading of rt/riak/current/dev/dev1/riak/lib/riak_core-0.0.0+build.2082.ref2a60e84/ebin/riak_core_ring.beam failed: badfile
i.e. calling riak_core_ring:all_owners(Ring) fails as an OTP 22 run-time tries to use the riak_core_ring module within the OTP 24 compiled riak code.
Currently for testing OTP24, the following works:
rtdev-install.sh
;Attempts to compile riak_test in OTP 24 initially fail for parse_transform reasons in Riak. Speaking to other Riak users, lager has had to be removed as a pre-requisite for compiling in OTP 24. If riak_test is run from OTP 22, then this fails as building clusters in riak_test hash chceks which fail on:
Loading of rt/riak/current/dev/dev1/riak/lib/riak_core-0.0.0+build.2082.ref2a60e84/ebin/riak_core_ring.beam failed: badfile
i.e. calling
riak_core_ring:all_owners(Ring)
fails as an OTP 22 run-time tries to use the riak_core_ring module within the OTP 24 compiled riak code.