Segment out disk checks to disable on openbsd/arm (#11749)

* Segment out disk checks to disable on openbsd/arm

Also add a spot skipped helper.

* Expected results may be fewer than actual because of variable length tests like disk usage

* Move to os_common and build on windows
This commit is contained in:
Scott Miller
2021-06-02 12:17:52 -05:00
committed by GitHub
parent cefcaccedd
commit a0db8d8523
8 changed files with 108 additions and 48 deletions

View File

@@ -211,9 +211,7 @@ func (c *OperatorDiagnoseCommand) offlineDiagnostics(ctx context.Context) error
defer span.End()
// OS Specific checks
// Check open file count
diagnose.OSChecks(ctx)
diagnose.Test(ctx, "disk-usage", diagnose.DiskUsageCheck)
server.flagConfigs = c.flagConfigs
config, err := server.parseConfig()