syn-test.config 1.5 KB

12345678910111213141516171819202122232425262728293031
  1. %%%===================================================================
  2. %%% Syn - TEST CONFIGURATION FILE
  3. %%%===================================================================
  4. [
  5. %% Syn config
  6. {syn, [
  7. %% You can set a callback to be triggered when a process exits.
  8. %% This callback will be called only on the node where the process was running.
  9. {registry_process_exit_callback, [syn_registry_SUITE, registry_process_exit_callback_dummy]},
  10. %% After a net split, when nodes reconnect, Syn will merge the data from all the nodes in the cluster.
  11. %% If the same Key was used to register a process on different nodes during a net split, then there will be a conflict.
  12. %% By default, Syn will discard the processes running on the node the conflict is being resolved on,
  13. %% and will kill it by sending a `kill` signal with `exit(Pid, kill)`.
  14. %% If this is not desired, you can set the registry_conflicting_process_callback option here below to instruct Syn
  15. %% to trigger a callback, so that you can perform custom operations (such as a graceful shutdown).
  16. {registry_conflicting_process_callback, [syn_registry_consistency_SUITE, registry_conflicting_process_callback_dummy]},
  17. %% You can set a callback to be triggered when a member process of a group exits.
  18. %% This callback will be called only on the node where the process was running.
  19. {process_groups_process_exit_callback, [syn_groups_SUITE, process_groups_process_exit_callback_dummy]}
  20. ]}
  21. ].