-
Notifications
You must be signed in to change notification settings - Fork 67
Closed
Labels
Description
I'm submitting a ...
- bug report
- feature request
- support request => Please do not submit support request here, see note at the top of this template.
What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
I get an error when using Allure with async/await

What is the expected behavior?
Allure should works as without async/await
What is the motivation / use case for changing the behavior?
I think using AsyncLocal instead ThreadLocal in stepContext will fix it like in NUnit framework
https://github.com/nunit/nunit/blob/master/src/NUnitFramework/framework/Internal/TestExecutionContext.cs
Please tell us about your environment:
- Allure version: 2.1.0
- Test framework: testng@6.8
- Allure adaptor: allure-testng@2.0-BETA8
- Generate report using: allure-maven@2.18
Other information
Reactions are currently unavailable