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

splunk / splunk-operator / 22009355752
85%
main: 87%

Build:
Build:
LAST BUILD BRANCH: CSPL-4518
DEFAULT BRANCH: main
Ran 14 Feb 2026 02:27AM UTC
Jobs 1
Files 48
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

14 Feb 2026 02:16AM UTC coverage: 84.92% (-1.3%) from 86.191%
22009355752

Pull #1699

circleci

vivekr-splunk
Fix unit test failures in Platform SDK integration

This commit fixes 4 failing unit tests after the Platform SDK integration:

1. Fixed 3 SecretAdapter tests (TestSecretAdapter_SDKMode,
   TestSecretAdapter_SDKMode_SecretNotReady,
   TestSecretAdapter_SDKMode_SecretVersioning) by adding PlatformConfig
   CRD scheme registration. The tests were failing with:
   "no kind is registered for the type v4.PlatformConfig in scheme"

2. Fixed TestApplyStandalone panic by adding nil check for sdkRuntime
   in getStandaloneStatefulSet. When sdkRuntime is nil (legacy tests),
   the function now falls back to getStandaloneStatefulSetLegacy which
   uses the pre-SDK implementation.

Changes:
- pkg/splunk/enterprise/secret_adapter_test.go: Import platformv4 and
  register PlatformConfig scheme in all SDK-mode tests
- pkg/splunk/enterprise/standalone.go: Add nil check and legacy
  fallback path in getStandaloneStatefulSet, add
  getStandaloneStatefulSetLegacy function for backward compatibility

All enterprise package tests now pass successfully.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Pull Request #1699: [SPIKE] Platform SDK Integration for Standalone Controller

142 of 360 new or added lines in 4 files covered. (39.44%)

1 existing line in 1 file now uncovered.

11077 of 13044 relevant lines covered (84.92%)

28.66 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
89.47
-3.03% internal/controller/standalone_controller.go
20
84.0
pkg/splunk/enterprise/secret_adapter.go
70
91.12
-3.74% pkg/splunk/enterprise/configuration.go
122
47.25
-22.7% pkg/splunk/enterprise/standalone.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
89.47
-3.03% internal/controller/standalone_controller.go
Jobs
ID Job ID Ran Files Coverage
1 22009355752.1 14 Feb 2026 02:27AM UTC 48
84.92
CircleCI Job
Source Files on build 22009355752
  • Tree
  • List 48
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #22009355752
  • Pull Request #1699
  • PR Base - develop (#21989948678)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc