Skip to content

rebar3 eunit fails with exception error: not_alive #256

@rlipscombe

Description

@rlipscombe

When running rebar3 eunit, two of the tests fail with the following:

 1) verify_args/1 (peer.erl:860)
    Setup failed:
    exception error: not_alive
      in function  peer:verify_args/1 (peer.erl:860)
      in call from peer:start_it/2 (peer.erl:918)
      in call from meck_tests:remote_setup/0 (test/meck_tests.erl:1376)

 2) verify_args/1 (peer.erl:860)
    Setup failed:
    exception error: not_alive
      in function  peer:verify_args/1 (peer.erl:860)
      in call from peer:start_it/2 (peer.erl:918)
      in call from meck_tests:remote_setup/0 (test/meck_tests.erl:1376)

Oddly, when I use rebar3 eunit --sname a, this fixes one of the tests, but not the other.

I see that the GH workflow doesn't specify --sname, so I'm puzzled as to why it works in GH, but not for me, locally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions