Skip to content

Commit

Permalink
Merge pull request kubevirt#3911 from kbidarkar/add-testid-metrics-vcpu
Browse files Browse the repository at this point in the history
Added test-id for vcpu_wait and vcpu_sec metrics
  • Loading branch information
kubevirt-bot authored Jul 29, 2020
2 parents b3d3ccf + d5ecf5f commit 6f3f5b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/infra_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -729,15 +729,15 @@ var _ = Describe("Infrastructure", func() {
}
})

It("should include the vcpu wait metrics for running VM", func() {
It("[test_id:4553]should include the vcpu wait metrics for running VM", func() {
metrics := collectMetrics("kubevirt_vmi_vcpu_wait")
for _, v := range metrics {
fmt.Fprintf(GinkgoWriter, "vcpu wait was %f", v)
Expect(v).To(BeNumerically("==", float64(0.0)))
}
})

It("should include the vcpu seconds metrics for running VM", func() {
It("[test_id:4554]should include the vcpu seconds metrics for running VM", func() {
metrics := collectMetrics("kubevirt_vmi_vcpu_seconds")
for _, v := range metrics {
fmt.Fprintf(GinkgoWriter, "vcpu seconds was %f", v)
Expand Down

0 comments on commit 6f3f5b4

Please sign in to comment.