Skip to content

Conversation

@olivergondza
Copy link
Collaborator

This fixes a mistake made in #693.

@olivergondza
Copy link
Collaborator Author

The integration tests are still failing, though.


def static String MODULEROOT = Paths.get("").toAbsolutePath().getParent().toString()
def static String TAPEROOT = "/" + MODULEROOT + "src/test/resources/tapes/"
def static String TAPEROOT = MODULEROOT + "/" + "src/test/resources/tapes/"
Copy link
Member

@auhlig auhlig Jun 2, 2016

Choose a reason for hiding this comment

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

@olivergondza I think it should be
TAPEROOT = "/" + MODULEROOT + "/src/test/resources/tapes/"

With JDK 1.7 that reduces the amount of errors in the integration-test module to 3 NPE's caused by UnknownHostExceptions. Very strange. I'm currently looking into it.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

That is strange, the absolute path should start with '/' so additional
should be ignored and it will blow up on Windows completely. Can we
agree on MODULEROOT + "/src/test/resources/tapes/"?

On 06/02/2016 02:53 PM, Arno Uhlig wrote:

In
core-integration-test/src/test/groovy/org/openstack4j/api/AbstractSpec.groovy
#704 (comment):

@@ -18,7 +18,7 @@ import co.freeside.betamax.tape.yaml.TapePropertyUtils
abstract class AbstractSpec extends Specification {

 def static String MODULEROOT = Paths.get("").toAbsolutePath().getParent().toString()
  • def static String TAPEROOT = "/" + MODULEROOT + "src/test/resources/tapes/"
  • def static String TAPEROOT = MODULEROOT + "/" + "src/test/resources/tapes/"

@olivergondza https://github.com/olivergondza I think it should be
TAPEROOT = "/" + MODULEROOT + "/src/test/resources/tapes/"

With JDK 1.7 that reduces the amount of errors in the integration-test
module to 3 NPE's caused by UnknownHostExceptions. Very strange. I'm
currently looking into it.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ContainX/openstack4j/pull/704/files/f5fa1dc540f634c819f3ff030be09fe6df3bea7a#r65533145,
or mute the thread
https://github.com/notifications/unsubscribe/AAMn-cJv-jnn3Dinr4_3njNQHIoAd0Woks5qHtJfgaJpZM4Ir3Cq.

Copy link
Member

Choose a reason for hiding this comment

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

Yes, makes sense.

The remaining 3 issues, which prevent os4j from going back to green, are still unclear to me.
Maybe it's something in Betamax. Need to dig in this again tomorrow - unless you're faster.

@olivergondza
Copy link
Collaborator Author

Rebased, with what we agreed on. This is ready to be merged.

@auhlig auhlig mentioned this pull request Jun 3, 2016
@auhlig auhlig merged commit fdbea4b into ContainX:master Jun 4, 2016
@olivergondza olivergondza deleted the fixup-refactoring branch June 4, 2016 17:55
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

Successfully merging this pull request may close these issues.

2 participants