Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Launch time execution is displayed incorrectly while running several XML suites at once #50

Open
asukhodolova opened this issue Aug 30, 2023 · 0 comments

Comments

@asukhodolova
Copy link

asukhodolova commented Aug 30, 2023

Launch time execution in Zebrunner is displayed incorrectly while running several XML suites at once

Steps to reproduce:

  1. There are several XML TestNG suites to execute
  2. Run them together using the command:
mvn clean test -DsuiteXmlFile=suite1.xml,suite2.xml,suite3.xml,suite4.xml
  1. When launch is finished, check its time execution

Actual Result: Tests were executing about 30 minutes, but launch time execution in Zebrunner is displayed 1 hour 21 minutes (elapsed value returned by BE). If sum up time execution of all tests - the result is correct (30 minutes).
The issue happens due to sending finish launch request 4 times by TestNG agent (number of requests equals to number of executed suites).
If execute only one suite, the issue is not reproducible.

TestNG version: 7.6.1
Zebrunner TestNG agent version: 1.9.5

@akamarouski akamarouski self-assigned this Aug 30, 2023
@akamarouski akamarouski transferred this issue from zebrunner/java-agent-testng Sep 14, 2023
@akamarouski akamarouski transferred this issue from zebrunner/java-agent-core Sep 14, 2023
@akamarouski akamarouski removed their assignment Jul 5, 2024
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

No branches or pull requests

2 participants