@@ -36,30 +36,30 @@ func TestCheckForProcesses(t *testing.T) {
3636 procsToCheck : []string {},
3737 expMissingProcs : []string {},
3838 },
39- // {
40- // testName: "SingleProcessFound",
41- // procsToCreate: []string{fakeProcOne},
42- // procsToCheck: []string{fakeProcOne},
43- // expMissingProcs: []string{},
44- // },
45- // {
46- // testName: "MultipleProcessesFound",
47- // procsToCreate: []string{fakeProcOne, fakeProcTwo, fakeProcThree},
48- // procsToCheck: []string{fakeProcOne, fakeProcTwo, fakeProcThree},
49- // expMissingProcs: []string{},
50- // },
51- // {
52- // testName: "SingleMissingProcess",
53- // procsToCreate: []string{fakeProcOne, fakeProcThree},
54- // procsToCheck: []string{fakeProcOne, fakeProcTwo, fakeProcThree},
55- // expMissingProcs: []string{fakeProcTwo},
56- // },
57- // {
58- // testName: "MultipleMissingProcesses",
59- // procsToCreate: []string{fakeProcTwo},
60- // procsToCheck: []string{fakeProcOne, fakeProcTwo, fakeProcThree},
61- // expMissingProcs: []string{fakeProcOne, fakeProcThree},
62- // },
39+ {
40+ testName : "SingleProcessFound" ,
41+ procsToCreate : []string {fakeProcOne },
42+ procsToCheck : []string {fakeProcOne },
43+ expMissingProcs : []string {},
44+ },
45+ {
46+ testName : "MultipleProcessesFound" ,
47+ procsToCreate : []string {fakeProcOne , fakeProcTwo , fakeProcThree },
48+ procsToCheck : []string {fakeProcOne , fakeProcTwo , fakeProcThree },
49+ expMissingProcs : []string {},
50+ },
51+ {
52+ testName : "SingleMissingProcess" ,
53+ procsToCreate : []string {fakeProcOne , fakeProcThree },
54+ procsToCheck : []string {fakeProcOne , fakeProcTwo , fakeProcThree },
55+ expMissingProcs : []string {fakeProcTwo },
56+ },
57+ {
58+ testName : "MultipleMissingProcesses" ,
59+ procsToCreate : []string {fakeProcTwo },
60+ procsToCheck : []string {fakeProcOne , fakeProcTwo , fakeProcThree },
61+ expMissingProcs : []string {fakeProcOne , fakeProcThree },
62+ },
6363 }
6464
6565 for _ , tc := range testCases {
0 commit comments