Minor QA changes

1) Add ability to enable all pairs using the new pair manager
2) Add abiity to enable/disable database subsystem via gRPC
3) Fix spelling mistakes
This commit is contained in:
Adrian Gallagher
2019-10-04 19:31:04 +10:00
parent 62a528a064
commit 2a13551dd1
12 changed files with 1760 additions and 239 deletions

View File

@@ -16,9 +16,9 @@ var (
)
// AdjustGoMaxProcs sets the runtime GOMAXPROCS val
// Since Go 1.5, Go will use the total number of logical processers that the
// Since Go 1.5, Go will use the total number of logical processors that the
// system has available. Caveats to this are if someone has set the GOMAXPROCS
// env var set or wish to limit usage of the number of logical processers
// env var set or wish to limit usage of the number of logical processors
// between a range from 1 to NumCPUs
func AdjustGoMaxProcs(procs int) error {
// Check for default settings, plus respecting GOMAXPROCS env but

View File

@@ -51,7 +51,7 @@ func TestAdjustGoMaxProcs(t *testing.T) {
for x := range tester {
if err := checker(tester[x].Setting, tester[x].Expected); err != nil {
t.Errorf("%d failed. %s", tester[x], err)
t.Errorf("%d failed. %s", x, err)
}
}
}