fix flakey proc test (#8279)

This commit is contained in:
Steven Soroka 2020-10-16 17:03:36 -04:00 committed by GitHub
parent 771f65eb85
commit 0ae6fe7c9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -15,10 +15,11 @@ import (
)
func TestProcesses(t *testing.T) {
tester := tester{}
processes := &Processes{
Log: testutil.Logger{},
execPS: testExecPS("STAT\n Ss \n S \n Z \n R \n S< \n SNs \n Ss+ \n \n \n"),
readProcFile: readProcFile,
readProcFile: tester.testProcFile,
}
var acc testutil.Accumulator