Skip to content

Conversation

tpereirasplunk
Copy link
Contributor

@tpereirasplunk tpereirasplunk commented Mar 22, 2021

Splunk SVA Covered

  • S1 ( Standalone)

Test Scenario:

  • Setup the Test SVA
  • Delete the splunk secret object / Delete Secret Data in Secret Object
  • Verify a new splunk secret object is created
  • Wait of Splunk Pods to recycle
  • Verify new HEC token, admin password, idxc_secret, shc_secret, pass4SymmKey is present on the new versioned secret
  • Verify new HEC token, admin password, idxc_secret, shc_secret, pass4SymmKey is mounted on the PODs

Added delete only for Standalone as deleting the secrets leads to pod recycling which takes around 20-30 mins on C3 and M4

Test Results

[1] secret test
[1] /Users/tpereira/Git/splunk-operator/test/secret/secret_test.go:26
[1]   Multisite cluster deployment (M13 - Multisite indexer cluster, Search head cluster)
[1]   /Users/tpereira/Git/splunk-operator/test/secret/secret_test.go:299
[1]     secret: secret update on multisite indexers and search head cluster
[1]     /Users/tpereira/Git/splunk-operator/test/secret/secret_test.go:300
[1] ------------------------------
[1] {"level":"info","ts":1616459710.788005,"msg":"testenv deleted.\n","testenv":"secret-mb"}
[1]
[1] JUnit report was created: /Users/tpereira/Git/splunk-operator/test/secret/secret-mb_junit.xml
[1]
[1] Ran 2 of 2 Specs in 3583.450 seconds
[1] SUCCESS! -- 2 Passed | 0 Failed | 0 Pending | 0 Skipped
[1] PASS
[2] secret test
[2] /Users/tpereira/Git/splunk-operator/test/secret/secret_test.go:26
[2]   Standalone deployment (S1) with LM
[2]   /Users/tpereira/Git/splunk-operator/test/secret/secret_test.go:46
[2]     secret: Secret update on a standalone instance
[2]     /Users/tpereira/Git/splunk-operator/test/secret/secret_test.go:47
[2] ------------------------------
[2] {"level":"info","ts":1616529304.866903,"msg":"testenv deleted.\n","testenv":"secret-yn"}
[2]
[2] JUnit report was created: /Users/tpereira/Git/splunk-operator/test/secret/secret-yn_junit.xml
[2]
[2] Ran 1 of 1 Specs in 1100.302 seconds
[2] SUCCESS! -- 1 Passed | 0 Failed | 0 Pending | 0 Skipped
[2] PASS```

@tpereirasplunk tpereirasplunk force-pushed the CSPL-545 branch 2 times, most recently from 0131859 to ab13a96 Compare March 23, 2021 20:02
@tpereirasplunk tpereirasplunk force-pushed the CSPL-545 branch 2 times, most recently from 1bb97df to 7c83010 Compare March 24, 2021 18:24
@smohan-splunk smohan-splunk merged commit 50ad36c into develop Mar 24, 2021
@tpereirasplunk tpereirasplunk deleted the CSPL-545 branch May 4, 2021 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants