reportportal / agent-java-cucumber4

Cucumber JVM version [4.0.0; 5.0.0) adapter
Apache License 2.0
6 stars 9 forks source link

Launch does not finish if cucumber (java) test step is 'pending' #39

Closed ManfredGro closed 4 years ago

ManfredGro commented 4 years ago

I'm using reportportal 4.3.0 My test run with cucumber/java 4.7.4 and connect to the portal with agent-java-cucumber4 v4.1.0

In my stepdefinition I throw a PendingException which just means that the step is not yet implemented and is understood by most plugins that work with cucumber.

In reportportal I can see, that all the data regarding the test was recieved (see screenshot). No problem so far. However reportportal seems to interpret the "pending" as "still running". So the launch never finishes, even so all the test are done and all the data is recieved. Is there a way to work around this? ReportPortal_pending

evjlobanova commented 4 years ago

@Yumfriez Could you please look at this issue.

PS. @ManfredGro in version 5.0 we have implemented feature reportportal/reportportal#275 Nested steps,

DzmitryHumianiuk commented 4 years ago

@ManfredGro and in v5 updated approach for launch finish as well. give a try to version 5

ManfredGro commented 4 years ago

Thanks! I'll try that.

evjlobanova commented 4 years ago

@ManfredGro Could you please tell us if it helped? Can we close a ticket?

evjlobanova commented 4 years ago

Due to no response I close this issue, feel free to reopen it, if you still have a problem

minhdoan159 commented 4 years ago

@ManfredGro @evjlobanova @DzmitryHumianiuk I am using v5: image

with dependencies: `// https://mvnrepository.com/artifact/com.epam.reportportal/agent-java-cucumber compile group: 'com.epam.reportportal', name: 'agent-java-cucumber4', version: '5.0.0-BETA-9'

// https://mvnrepository.com/artifact/com.epam.reportportal/client-java
compile group: 'com.epam.reportportal', name: 'client-java', version: '5.0.0-BETA-9'

// https://mvnrepository.com/artifact/com.epam.reportportal/commons-model
compile group: 'com.epam.reportportal', name: 'commons-model', version: '5.0.0'

// https://mvnrepository.com/artifact/io.cucumber/cucumber-java
compile group: 'io.cucumber', name: 'cucumber-java', version: '4.7.1'

// https://mvnrepository.com/artifact/io.cucumber/cucumber-junit
testCompile group: 'io.cucumber', name: 'cucumber-junit', version: '4.7.1'

// https://mvnrepository.com/artifact/junit/junit
testCompile group: 'junit', name: 'junit', version: '4.12'`

And the issue still occurs as: image The launches could not be done even after 22 hours Please help to take a look, retest and clarify that it's a real issue or any mismatch in my configuration. P/s: i don't have permission to re-open this ticket so please execute as well. Many thanks, team.

gor-p-asx commented 4 years ago

Hi Team - just wondering if this is going to prioritize ? Or any fix coming to new version

HardNorth commented 4 years ago

@gor-p-asx @minhdoan159 Can anyone of you guys provide a simple little project which reproduces the issue? It would speed-up a fix.

gor-p-asx commented 4 years ago

i will try to get sample project but its simple when any step has throw new PendingException(); you should able to see this behaviour

HardNorth commented 4 years ago

Abandoned