test: Don't run tests in parallel

This commit is contained in:
TwiN 2023-01-19 01:53:52 -05:00
parent 0db92f46da
commit 90bb8f7b5f

View File

@ -622,7 +622,6 @@ func TestCondition_evaluate(t *testing.T) {
} }
for _, scenario := range scenarios { for _, scenario := range scenarios {
t.Run(scenario.Name, func(t *testing.T) { t.Run(scenario.Name, func(t *testing.T) {
t.Parallel()
scenario.Condition.evaluate(scenario.Result, scenario.DontResolveFailedConditions) scenario.Condition.evaluate(scenario.Result, scenario.DontResolveFailedConditions)
if scenario.Result.ConditionResults[0].Success != scenario.ExpectedSuccess { if scenario.Result.ConditionResults[0].Success != scenario.ExpectedSuccess {
t.Errorf("Condition '%s' should have been success=%v", scenario.Condition, scenario.ExpectedSuccess) t.Errorf("Condition '%s' should have been success=%v", scenario.Condition, scenario.ExpectedSuccess)