Open kemsky opened 2 months ago
Hi, @kemsky !
Do you define Allure fixtures with AllureBefore or AllureAfter ? If so, do you define steps in them? Do fixtures or steps have parameters? If yes, what types do you use?
@delatrie, there is no AllureBefore or AllureAfter in my tests, also there are no steps at all. Some tests have TestCase
attributes, types are primitive, numbers, strings, enums.
SetUpFixture
:
[SetUpFixture]
public class TestInitializer
{
[OneTimeSetUp]
public void Setup()
{
CultureContext.SetThreadCulture();
}
[OneTimeTearDown]
public void Teardown()
{
}
}
A couple of tests have [SetUp]
attribute.
Many tests are marked with [Parallelizable(ParallelScope.All)]
.
Ok, thank you for your quick response. How often does the exception occur?
Approximately 1 out of 10 runs fails
There are ~500 tests.
My first impression is that there is a data race somewhere in our code. Does turning off the parallelization help?
I'm submitting a ...
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
Please tell us about your environment: