Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

unabled to correctly excecute integration-test

 
Ranch Hand
Posts: 93
  • 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
 
author
Posts: 5856
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: 93
  • 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
File size: 10 Kbytes
 
Peter Johnson
author
Posts: 5856
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: 93
  • 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.
    Bookmark Topic Watch Topic
  • New Topic