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

Wrong tests count #9

Closed
admizh opened this issue Nov 22, 2016 · 0 comments
Closed

Wrong tests count #9

admizh opened this issue Nov 22, 2016 · 0 comments
Assignees
Labels
bug Bug in ReportPortal
Milestone

Comments

@admizh
Copy link

admizh commented Nov 22, 2016

  1. Open suite, on suite lvl my tests counter == 1999 (it is correct)
  2. Package lvl is opened, on this lvl my tests counter == 1499. (it is wrong)

2016-11-23_2-00-54

Test code (testNg):

@Listeners({ReportPortalTestNGListener.class})
public class Main {

    private Logger logger = LoggerFactory.getLogger(this.getClass());

    @DataProvider(name = "loop", parallel = true)
    public static Iterator<Object[]> getDataWithStream() {
        return IntStream.range(1, 2000).mapToObj(i -> new Object[]{UUID.randomUUID().toString()}).iterator();
    }

    @Test(dataProvider = "loop")
    public void workingWithDeque(String testUid) {
        String msg = "Error: " + testUid;
        logger.error(msg);
        throw new AssertionError(msg);
    }
}
@avarabyeu avarabyeu added the bug Bug in ReportPortal label Nov 23, 2016
@avarabyeu avarabyeu added this to the 2.7 milestone Nov 30, 2016
avarabyeu added a commit to reportportal/service-api that referenced this issue Nov 30, 2016
Update only one field of parent item instead of updating whole document
avarabyeu added a commit to reportportal/service-api that referenced this issue Nov 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug in ReportPortal
Projects
None yet
Development

No branches or pull requests

3 participants