Skip to content

Commit

Permalink
Merge pull request kubevirt#2253 from mfranczy/vmi-restart-polarion-t…
Browse files Browse the repository at this point in the history
…ests

[Testing] polarion match for vmi restart tests
  • Loading branch information
stu-gott authored May 8, 2019
2 parents 52e4507 + 798175c commit 50586f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/subresource_api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ var _ = Describe("Subresource Api", func() {
}, 90*time.Second, 1*time.Second).Should(Equal(v1.Running))
})

It("should return an error when VM is not running", func() {
It("[test_id:1305][posneg:negative] should return an error when VM is not running", func() {
vm := tests.NewRandomVirtualMachine(tests.NewRandomVMI(), false)
vm, err := virtCli.VirtualMachine(tests.NamespaceTestDefault).Create(vm)
Expect(err).NotTo(HaveOccurred())
Expand All @@ -111,7 +111,7 @@ var _ = Describe("Subresource Api", func() {
Expect(err).To(HaveOccurred())
})

It("should return an error when VM has not been found but VMI is running", func() {
It("[test_id:2265][posneg:negative] should return an error when VM has not been found but VMI is running", func() {
vmi := tests.NewRandomVMI()
tests.RunVMIAndExpectLaunch(vmi, 60)

Expand Down

0 comments on commit 50586f8

Please sign in to comment.