Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

unabled to correctly excecute integration-test

 
Adrien Ruffie
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,

I use maven/cargo/selenium/... in order to launch integration-test.

but when I launch: mvn integration-test

Maven process wait indefinitely in [INFO] [cargo:run {execution: start-container}] ...
And doesn't launch Testng integration test ... any one see why ?

[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building edeal-integration-tests
[INFO] task-segment: [clean, integration-test]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory C:\Java\test\integration-tests\target
[INFO] [compiler:testCompile {execution: default}]
[INFO] Compiling 2 source files to C:\Java\test\integration-tests\target\test-classes
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [cargo:run {execution: start-container}]

My following pom.xml:



Best regards

Adrien
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try running with the -X option, the cargo plugin should give you more details about what it is doing. That might give you a clue as to where it is hung.
 
Adrien Ruffie
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank Peter, I have forgotten this option ...

I think no test is launched ... why, I don't understand because my surefire plugin which must excecute integration-test is bound
to



Here all debug traces: [Peter: placed into attached zip]

Filename: maven_output.zip
Description:
File size: 10 Kbytes
[Download maven_output.zip] Download Attachment
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that the issue is with cargo and that he deploy is never completing. Or it could just be that the output was truncated when you uploaded it. But then again, I don't have the time to go through the output in detail.

By the way, never post such a long output again. Instead, redirect your output to a file, zip it up, and attach the zip file to the post.
 
Adrien Ruffie
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I see, thank Peter for attachment file.

But I have tried different options, several configurations and I don't understand, because Cargo is correctly started (I can access to the webapp) but no test is run ...
I think I a phase/goal problem, but I don't see the correct solution.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic