Comments (6)
As a possible solution we can use InheritedThreadLocal for every Thread, except main. This will probably work for TestNG and JUnit5, since the first one is using main thread only for Suite creation and the second one is not using main thread at all. But what if some frameworks use main thread in the same way as other threads?
from client-java.
I think this relates to #91
I suggested a (apparently naive) Pull Request at the time, but it was reverted after additional issues appeared:
#53
Perhaps someone can pick this up and find a better solution
from client-java.
Yes, that's client issue due to ThreadLocal we use in our logging contexts. I believe we need to redesign it, but not in current (v5) version.
from client-java.
@HardNorth is there any progress on this? Perhaps this can be parameterized in the client and defaulted to the existing behavior? and frameworks that need this behavior can update to use this setting to solve this issue.
from client-java.
@dagansandler not yet, the issue has milestone 6 since it requires serious logging logic rewrite. Currently I'm working on milestone 5.1, which is related to Android compatibility.
from client-java.
Fixed in #183
from client-java.
Related Issues (20)
- Retrieve suiteNumber to build URL HOT 1
- Accept or trim NestedSteps name longer than 1024 symbols without throwing the error HOT 4
- java.lang.NoSuchMethodError: com.epam.reportportal.utils.TestCaseIdUtils.getTestCaseId HOT 1
- I need to get the launch id when saving it in the report portal HOT 2
- Access the response of `/api/{version}/{projectName}/launch` in Tests HOT 3
- Getting error "Cannot instantiate class com.epam.reportportal.testng.ReportPortalTestNGListener" HOT 10
- Many launches when ReuseFork is set on false HOT 1
- java.lang.NoClassDefFoundError: com/epam/reportportal/service/LockFile$5 when running as junit standalone HOT 1
- Separate report portal properties file according to the environment(Stg,QA,DEV) HOT 2
- [Improve] Add for @TestCaseID abilities to add TMS link HOT 2
- Proxy authentication not supported when passed through JVM args HOT 2
- Refactor logging
- [Improve] Add for @TestCaseID abilities to add TMS link HOT 2
- [Improve] Add the ability to call methods in the @Step annotation
- Not able to log messages into Report Portal is the number of logs is not a multiple of BatchLogsSize
- Mechanism to bulk upload results at the end of the test case HOT 1
- Random error with async reporting HOT 2
- @Step templating not supports `this` object reference in inner classes
- Remove Guava dependency HOT 1
- Regression: MimeTypeDetector no longer identifies content if there is no file extension HOT 5
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 client-java.