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

splunk / splunk-operator / 5671620498
90%
main: 87%

Build:
Build:
LAST BUILD BRANCH: feature/CSPL-4360-secret-ref-ingest-index
DEFAULT BRANCH: main
Ran 26 Jul 2023 05:10PM UTC
Jobs 1
Files 45
Run time 1s
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

26 Jul 2023 05:01PM UTC coverage: 89.754% (+0.2%) from 89.52%
5671620498

push

circle-ci

web-flow
CSPL-2343: Upgrade Strategy for MC (#1194)

* Added changeAnnotation method

* Refined changeClusterManagerAnnotations

* test case for upgrade scenario

* Modified kuttl cases

* Added kuttl tests; Updated LicenseMaster

* Fixed uninstall kuttl test

* Fixed unit test

* Removed changeAnnotation from licenseMaster

* Added branch in int-tests

* Completed code coverage tests

* Added upgradeScenario and related methods for CM

* Added label selectors to get Current Image

* Changed pod.Spec to pod.Status

* Added changeAnnotations for MC

* Added kuttl test cases

* Fixed unit test

* Fixed SmartStore unit test

* Added code coverage test

* using fake client instead of mock

* removed creating statefulset and service

* Corrected LMCurrentImage method

* Completed Coverage tests for CM

* Refined changeClusterManagerAnnotations

* test case for upgrade scenario

* Modified kuttl cases

* Added kuttl tests; Updated LicenseMaster

* Fixed unit test

* Removed changeAnnotation from licenseMaster

* Completed code coverage tests

* Resolved all conflict issues

* Added comments

* Updated upgradeScenario to check if statefulSet exists

* Fixed Unit tests

* Added common APIs, changed upgrade condition

* Added only warning if annotation not found

* Add warning

* Updated upgradeCondition

* updated changeAnnotation to work with no ref

* Fixed unit tests

* Handled not found error

* Added MC functions

* Removed blank lines; handled errors in changeAnnotation

* Only call changeAnnotation if LM is ready

* Removed redundant checks

* Return if CM list is empty

* removed superfluous nil err check

* Removed branch from workflow

* Added branch to workflow

* Fixed comment

* Fixed unit test

* Improved comment for the upgrade condition

* Removed branch from workflow

---------

Co-authored-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com>

60 of 60 new or added lines in 2 files covered. (100.0%)

10477 of 11673 relevant lines covered (89.75%)

22.82 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
76.79
-0.15% pkg/splunk/enterprise/clustermanager.go
16
77.75
11.3% pkg/splunk/enterprise/monitoringconsole.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
76.79
-0.15% pkg/splunk/enterprise/clustermanager.go
Jobs
ID Job ID Ran Files Coverage
1 5671620498.1 26 Jul 2023 05:10PM UTC 45
89.75
Source Files on build 5671620498
  • Tree
  • List 45
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 881f59c2 on github
  • Prev Build on feature-level2 (#5569142613)
  • Next Build on feature-level2 (#5947632115)
  • 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