Atlas › Test
test#04
Exact test identity: go.temporal.io/server/common/priorities/TestValidate/test#04
- Package
go.temporal.io/server/common/priorities
- Suite / test hierarchy
TestValidate/test#04
- Test
test#04
- Introduced at
- priority_util.go ×1 Frontier kind: Joint frontier
- Covered ranges
- 7
- Covered lines
- 10
- Covered files
- 1
Covered source
Expand a file to inspect source; the > gutter marks covered lines.
go.temporal.io/server/common/priorities/priority_util.go 10 covered LOC · 7 ranges
Open complete file
35
}
36
38
>
if len(key) > fairnessKeyMaxLength {
40
>
}
41
return nil
42
}
49
}
50
52
>
if p == nil {
53
return nil
55
return ErrInvalidPriority
56
>
} else if err := ValidateFairnessKey(p.FairnessKey); err != nil {
priority_util.go
59
return ErrInvalidFairnessWeight
60
}