Fixed unit tests in checkpoint_test.go and conf_test.go

This commit is contained in:
Nikhil 2019-06-21 11:05:46 -04:00 committed by Tomofumi Hayashi
parent b0e3b05b3c
commit f5524e0b9c
2 changed files with 1 additions and 7 deletions

View File

@ -198,12 +198,6 @@ var _ = Describe("Kubelet checkpoint data read operations", func() {
// resourceMap = rmap
})
})
It("Check public GetCheckpoint for basic functionality", func() {
cp, err := GetCheckpoint()
Expect(err).NotTo(HaveOccurred())
Expect(cp).To(Equal(&checkpoint{fileName: checkPointfile}))
})
})
var _ = AfterSuite(func() {

View File

@ -66,7 +66,7 @@ var _ = Describe("config operations", func() {
]
}`
// missing end bracket
netConf, err := LoadNetConf([]byte(conf))
_, err := LoadNetConf([]byte(conf))
Expect(err).To(HaveOccurred())
})