Coder Social home page Coder Social logo

Comments (6)

viktortnk avatar viktortnk commented on June 26, 2024

Please consider my response in #50.

Could you check if it works now for you

from docker-it-scala.

svd27 avatar svd27 commented on June 26, 2024

well the scalatest version of the test is working, the specs2 version is producing the above error.

from docker-it-scala.

viktortnk avatar viktortnk commented on June 26, 2024

Any chance you are using docker4mac?
I think default executor based on https://github.com/docker-java/docker-java library is not compatible with it. In scalatest example it is overriden with Spotify's one

https://github.com/whisklabs/docker-it-scala/blob/master/scalatest/src/test/scala/com/whisk/docker/MongodbServiceSpec.scala#L15

from docker-it-scala.

svd27 avatar svd27 commented on June 26, 2024

no this is on ubuntu 16.04.

so i added
override implicit val dockerFactory =
new SpotifyDockerFactory(DefaultDockerClient
.builder
.uri("unix:///var/run/docker.sock")
.build())

to our test, but this makes the test being ignored. i see:

2016-08-31 14:34:28,722 [          jersey-client-async-executor-0]  DEBUG org.apache.http.client.protocol.RequestAddCookies 
CookieSpec selected: default
2016-08-31 14:34:28,752 [          jersey-client-async-executor-0]  DEBUG org.apache.http.client.protocol.RequestAuthCache 
Auth cache not set in the context
2016-08-31 14:34:28,754 [          jersey-client-async-executor-0]  DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager 
Connection request: [route: {}->unix://localhost:80][total kept alive: 0; route allocated: 0 of 100; total allocated: 0 of 100]
2016-08-31 14:34:28,774 [          jersey-client-async-executor-0]  DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager 
Connection leased: [id: 0][route: {}->unix://localhost:80][total kept alive: 0; route allocated: 1 of 100; total allocated: 1 of 100]
2016-08-31 14:34:28,776 [          jersey-client-async-executor-0]  DEBUG org.apache.http.impl.execchain.MainClientExec 
Opening connection {}->unix://localhost:80

Test ignored.Disconnected from the target VM, address: '127.0.0.1:36425', transport: 'socket'

from docker-it-scala.

viktortnk avatar viktortnk commented on June 26, 2024

Logging suggests that something goes wrong with configuration. Anybody else can reproduce it or encountered this issue before?

from docker-it-scala.

viktortnk avatar viktortnk commented on June 26, 2024

No response from anybody and it looks outdated. Closing

from docker-it-scala.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.