-
Notifications
You must be signed in to change notification settings - Fork 3k
Description
Describe the bug
Calling a local fun() over e.g erpc doesn't load the target module.
To Reproduce
ssl_dist_bench_SUITE, especially the test cases in the throughput group under the toplevel group benchmark sometimes fails with a badfun exception when calling erpc:call(B, fun mem/0) from mem_start/0. That seems to happen only occasionally, maybe one out of ten. On my laptop I may have to run the whole throughput group 3 times to be reasonably sure to get a failed test case. The whole group chain that is best known to provoke this is [benchmark,cryptcookie,dist_cryptcookie_inet,throughput].
Expected behavior
Calling a local fun for an unloaded module should load the module just like calling an exported fun(ction).
Affected versions
28.0
Additional context