Add ulimit check, and tidy unit test cases (#11678)

* Add ulimit check, and tidy unit test cases to avoid needing to have all results and perfect ordering

* Make order independent check recursive

* Fix unit tests

* Try a 5s request timeout
This commit is contained in:
Scott Miller
2021-06-01 12:43:51 -05:00
committed by GitHub
parent f43802d75a
commit 6583a5543f
4 changed files with 69 additions and 0 deletions

View File

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