Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests fail #74

Closed
ghost opened this issue Feb 19, 2018 · 3 comments
Closed

tests fail #74

ghost opened this issue Feb 19, 2018 · 3 comments

Comments

@ghost
Copy link

ghost commented Feb 19, 2018

I perform checkout of master and run the tests, the following failures are generated:

14:11:12.342 [info]  Protocol 'inet_tcp': register/listen error: econnrefused

** (EXIT from #PID<0.73.0>) :not_alive

14:11:12.361 [error] Task #PID<0.150.0> started from #PID<0.73.0> terminating
** (stop) :not_alive
    (stdlib) slave.erl:198: :slave.start/5
    (swarm) test/support/cluster.ex:21: Swarm.Cluster.spawn_node/1
    (elixir) lib/task/supervised.ex:88: Task.Supervised.do_apply/2
    (elixir) lib/task/supervised.ex:38: Task.Supervised.reply/5
    (stdlib) proc_lib.erl:247: :proc_lib.init_p_do_apply/3
Function: #Function<8.128785774/0 in Swarm.Cluster.spawn/1>
    Args: []

14:11:12.362 [error] Task #PID<0.151.0> started from #PID<0.73.0> terminating
** (stop) :not_alive
    (stdlib) slave.erl:198: :slave.start/5
    (swarm) test/support/cluster.ex:21: Swarm.Cluster.spawn_node/1
    (elixir) lib/task/supervised.ex:88: Task.Supervised.do_apply/2
    (elixir) lib/task/supervised.ex:38: Task.Supervised.reply/5
    (stdlib) proc_lib.erl:247: :proc_lib.init_p_do_apply/3
Function: #Function<8.128785774/0 in Swarm.Cluster.spawn/1>
    Args: []

As with libcluster, is there some setup I need to perform prior to running the tests?

@mbaeuerle
Copy link
Contributor

I don't get the same errors but when trying to run mix test most of the tests fail with {:error, :no_node_available}. A test setup guide would definitely help.

@arjan
Copy link
Collaborator

arjan commented Jul 22, 2018

I'm getting slightly better results when running it like this:

iex --name [email protected] -S mix test --exclude clustered

Still though, 7 out of 33 fail.

This was referenced Jul 23, 2018
@bitwalker
Copy link
Owner

Addressed in #94

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants