Skip to content

Commit

Permalink
test: sort exporters for deterministic tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cgrinds committed Nov 13, 2024
1 parent 3fbb1ba commit 2c3c057
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/conf/conf.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import (
"os"
"path/filepath"
"regexp"
"slices"
"sort"
"strconv"
"strings"
Expand Down Expand Up @@ -473,6 +474,9 @@ func GetUniqueExporters(exporterNames []string) []string {
}
resultExporters = append(resultExporters, value...)
}

slices.Sort(resultExporters)

return resultExporters
}

Expand Down

0 comments on commit 2c3c057

Please sign in to comment.