Skip to content

Commit 54416e6

Browse files
committed
test: Update container count assertions in AllureTestNgTest
Updated container count expectations in multipleSuites and parallelMethods tests to account for the new DataProvider execution containers introduced by the fix.
1 parent 02dbd0a commit 54416e6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

allure-testng/src/test/java/io/qameta/allure/testng/AllureTestNgTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ public void multipleSuites() {
507507
.hasSize(3);
508508
List<String> uids = testResults.stream().map(TestResult::getUuid).collect(Collectors.toList());
509509
assertThat(testContainers).as("Unexpected quantity of testng containers has been written")
510-
.hasSize(8).extracting(TestResultContainer::getName)
510+
.hasSize(9).extracting(TestResultContainer::getName)
511511
.contains(beforeMethodName, beforeMethodName, firstTagName, firstSuiteName, secondTagName,
512512
secondSuiteName);
513513

@@ -553,7 +553,7 @@ public void parallelMethods() {
553553
assertThat(testResults).as("Unexpected quantity of testng case results has been written")
554554
.hasSize(2001);
555555
assertThat(testContainers).as("Unexpected quantity of testng containers has been written")
556-
.hasSize(6006);
556+
.hasSize(6007);
557557

558558
assertContainersPerMethod(before1, testContainers, uids);
559559
assertContainersPerMethod(before2, testContainers, uids);

0 commit comments

Comments
 (0)