mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
remove operating system stanza from tests on account of disk usage being different across ci for different runs (#11764)
This commit is contained in:
@@ -39,21 +39,6 @@ func TestOperatorDiagnoseCommand_Run(t *testing.T) {
|
||||
"-config", "./server/test-fixtures/config_diagnose_ok.hcl",
|
||||
},
|
||||
[]*diagnose.Result{
|
||||
{
|
||||
Name: "operating system",
|
||||
Status: diagnose.OkStatus,
|
||||
Children: []*diagnose.Result{
|
||||
{
|
||||
Name: "open file limits",
|
||||
Status: diagnose.OkStatus,
|
||||
},
|
||||
{
|
||||
Name: "disk usage",
|
||||
Status: diagnose.OkStatus,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
Name: "parse-config",
|
||||
Status: diagnose.OkStatus,
|
||||
@@ -293,7 +278,6 @@ func TestOperatorDiagnoseCommand_Run(t *testing.T) {
|
||||
|
||||
if err := compareResults(tc.expected, result.Children); err != nil {
|
||||
t.Fatalf("Did not find expected test results: %v", err)
|
||||
t.Fatal(result.String())
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user