This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

integration-tester: Improve docs on priority

  • Loading branch information...
kayousterhout authored and kklin committed Sep 21, 2017
1 parent e1caa61 commit 6e5be82a55fdfa9f5aa7bf91035ac18cf37f074e
Showing with 5 additions and 3 deletions.
  1. +1 −1 .codecov.yaml
  2. +4 −2 integration-tester/priority.go
View
@@ -23,4 +23,4 @@ parsers:
enable_partials: false
ignore:
- "**/*mock*"
- "/tester"
- "/integration-tester"
@@ -26,8 +26,10 @@ func (s byPriorityPrefix) Less(i, j int) bool {
const defaultPriority = 50
// getPriority extracts the priority from the filename in the form $PRIORITY-foo.
// If no priority is specified, we return `defaultPriority`.
// getPriority extracts the priority from the filename in the form $PRIORITY-foo,
// where the priority represents the order in which tests should run (tests are
// run in order of increasing priority). If no priority is specified, we return
// `defaultPriority`.
func getPriority(filename string) int {
dashIndex := strings.Index(filename, "-")
if dashIndex == -1 {

0 comments on commit 6e5be82

Please sign in to comment.