On Mon, Jun 30, 2014 at 05:47:41PM +0200, Markus von Rüden wrote: > I looked into the existing test SwiftBlobIntegrationLiveTest [1] and > wanted to get it to work locally on my system. > The problem is, that it connects to a "swift endpoint". > I am assuming that I need some kind of "openstack swift test environment". > Any idea on how to get this environment setup or how to fake it?
Since you are using cloudfiles-us, you can run its tests which derive from the generic swift tests: mvn install -pl :swift -DskipTests=true mvn integration-test -pl :cloudfiles-us -Plive \ -Dtest.cloudfiles-us.identity="${JCLOUDS_IDENTITY}" \ -Dtest.cloudfiles-us.credential="${JCLOUDS_CREDENTIAL}" Maven has wonky behavior for building dependencies across modules, but the mvn install step ensures that the sub-dependency builds. You could also add -am to the second step although this runs some extra tests. -- Andrew Gaul http://gaul.org/