Comments (6)
jUnit is configured to run tests in parallel using JVM forking.
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${maven.failsafe.plugin.version}</version>
<configuration>
<includes>
<include>**/*Test.java</include>
</includes>
<parallel>classes</parallel>
<threadCount>${threads.number}</threadCount>
<forkCount>${threads.number}</forkCount>
<perCoreThreadCount>false</perCoreThreadCount>
<testFailureIgnore>false</testFailureIgnore>
</configuration>
<executions>
<execution>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
So tests on each submodule run on a different JVMs. But for now integration controls RP communication client on one JVM level, so practically with your example several client created, as a result you got several launches in RP.
Potentially is it possible to avoid it with cross JVM communication, but efforts to do it is too high comparing to this use case rarity.
from serenity-reportportal-integration.
Hello,
Do you have any plans to fix the issue? We faced with the same problem recently.
As a workaround it is possible to set unique tag for each set of runs and merge them on full run completion using RP API.
Thanks.
from serenity-reportportal-integration.
@slavamarkovski
Your proposed workaround idea sounds interesting. I will investigate the ability to apply it.
from serenity-reportportal-integration.
@Invictum sorry for pushing but do you have any rough ETA for this issue?
from serenity-reportportal-integration.
I made a small investigation and actually it is more complex than expected. It requires cross JVM communication even with merge approach.
As for estimates: It depends on my free time, but I will try to implement it in a few weeks.
from serenity-reportportal-integration.
Implemented. Will be available on 1.4.2+
@slavamarkovski
Before release feature is available in snapshots, related documentation can be found in README.md
in development
branch
from serenity-reportportal-integration.
Related Issues (20)
- How to convert error test case in serenity to failure test case in rp? HOT 2
- Tag visualisation for Scenario Outline examples in Report Portal Tool HOT 1
- Add options to compare any two builds HOT 1
- Failed serenity test isn't reported as 'FAILED' in ReportPortal HOT 5
- Implementing support for parallel execution HOT 1
- Issue with Serenity 3.6.0 executing tests with Junit-platform-suite throws exception HOT 1
- Update integration versioning
- Travis CI leftovers cleanup
- Add codeowners configuration to the project
- Configure GPG for artifacts signing
- Add Maven wrapper
- Add Serenity 4 Support HOT 1
- Migrate tests from Junit 4 to Junit5
- Update Readme to make it grammatically correct
- Use github actions to deploy artifact snapshots
- Random error with async reporting HOT 2
- Test Metrics Count Incorrect in ReportPortal HOT 21
- Providing properties through Java class rather than .properties file HOT 1
- Record data with Serenity.recordReportData().withTitle().andContents(); HOT 2
- Socket Timeout Exception after Serenity upgrade to 4.1.14 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from serenity-reportportal-integration.