• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kubernetes-sigs / cluster-api-provider-kubevirt / 31182778124
40%
main: 40%

Build:
Build:
LAST BUILD BRANCH: capi-v1beta2-migration
DEFAULT BRANCH: main
Ran 07 Aug 2026 01:28PM UTC
Jobs 1
Files 27
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Aug 2026 01:27PM UTC coverage: 40.242% (+0.6%) from 39.688%
31182778124

Pull #394

github

orenc1
test: update controller tests for v1beta2 condition types

Adapt test assertions and setup for the v1beta2 migration:

- Replace corev1.ConditionStatus comparisons with metav1.ConditionStatus
  (different named types despite identical values)
- Wrap ConditionType constants in string() for gomega Equal() matcher
  since metav1.Condition.Type is string, not clusterv1.ConditionType
- Set InfrastructureReady as a condition instead of status bool
- Use conditions.Set() instead of MarkTrue/MarkFalse in test setup
- Use ClusterControlPlaneInitializedCondition constant name

Signed-off-by: Oren Cohen <ocohen@redhat.com>
Asissted-by: Claude <noreply@anthropic.com>
Pull Request #394: Bump CAPI dependency to v1.13.4 and migrate to v1beta2 API

81 of 181 new or added lines in 8 files covered. (44.75%)

1 existing line in 1 file now uncovered.

1231 of 3059 relevant lines covered (40.24%)

2.21 hits per line

Uncovered Changes

Lines Coverage ∆ File
44
0.0
0.0% api/v1alpha1/zz_generated.deepcopy.go
17
41.59
-0.28% controllers/kubevirtcluster_controller.go
17
0.0
0.0% pkg/context/machine_context.go
10
0.0
0.0% pkg/context/cluster_context.go
8
0.0
0.0% pkg/testing/common.go
2
0.0
0.0% api/v1alpha1/kubevirtcluster_types.go
2
0.0
0.0% api/v1alpha1/kubevirtmachine_types.go

Coverage Regressions

Lines Coverage ∆ File
1
0.0
0.0% api/v1alpha1/zz_generated.deepcopy.go
Jobs
ID Job ID Ran Files Coverage
1 31182778124.1 07 Aug 2026 01:28PM UTC 27
40.24
GitHub Action Run
Source Files on build 31182778124
  • Tree
  • List 27
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #394
  • PR Base - main (#30540716677)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc