mirror of
https://github.com/TwiN/gatus.git
synced 2024-11-21 23:43:27 +01:00
test: Don't run tests in parallel
This commit is contained in:
parent
0db92f46da
commit
90bb8f7b5f
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user