Skip to content
This repository has been archived by the owner on Apr 15, 2018. It is now read-only.

introduce docker-it-scala for etcd tests #155

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

note
Copy link

@note note commented Mar 22, 2017

refs #129

)
)

parallelExecution in Global := false
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The problem was with inter-submodules concurrency. Usually it is that multi nodes tests are run before EtcdCoordinationSpec's afterAll was called. It is not desired because than creating etcd container fails because one is still running (and has not been stopped yet).

It was the easiest fix for that. I am open for any suggestions.

@@ -18,7 +18,7 @@ lazy val core =
project
.enablePlugins(AutomateHeaderPlugin)
.configs(MultiJvm)
.dependsOn(coordination,`coordination-etcd` % "test->compile")
.dependsOn(coordination,`coordination-etcd` % "test->test")
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's because we use DockerEtcdService also in core. And since DockerEtcdService is defined in coordination-etcd test scope we need this change

@hseeberger
Copy link
Owner

Thanks for your contribution. Apologies, but I'm currently too busy to review.

@bsideup
Copy link

bsideup commented Aug 8, 2017

Have you considered @testcontainers? :)

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

Successfully merging this pull request may close these issues.

3 participants