Commit 47b2a05
CSPL-3775 extract common code in tests (#1788)
* Feature/CSPL-4397 Eliminate reliance on time in tests (#1735)
* CSPL-4397 Remove time dependency from tests
* CSPL-4397 Removing test reliance on time
* CSPL-4397 Adjusting timeouts
* CSPL-4354 Fixing time dependencies in unit tests and fixing timeouts in integ tests
* CSPL-4397 Move to using watch
* CSPL-4397 Refactor pod reset detection to use UID-based tracking instead of time-based comparison, add fail-fast test prerequisites validation, and improve code clarity with variable renaming
* CSPL-4397 Refactoring
* CSPL-4397 Addressing comments
* CSPL-4602 Moving duplicated code for LM tests to a shared codebase (#1768)
* CSPL-4602 Moving duplicated code for LM tests to a shared codebase
* CSPL-4602 Addinf license manager tests to workflows
* CSPL-4602 Address comments
* CSPL-4602 Moving LM shared test utils to licensemanager package
* CSPL-4602 Addressing base branch changes
* Feature/cspl 4377 remove panic from test (#1777)
* CSPL-4377 Get rid of not expected panic in tests
* CSPL-4377 Check error for app disablement in tests
* CSPL-3775 Extract setup/teardown functions
* CSPL-3775 Extract common code for secret tests
* CSPL-3775 Extract CRUD common code
* CSPL-3775 Extract common code for smartstore tests
* CSPL-3775 Combining code into re-usable functions
* CSPL-3775 Fix pipeline issues after the changes
* CSPL-3775 Refactoring app fw tests to use before each and after each code
* CSPL-3775 Extracting common constants
* CSPL-3775 Ingest functions
* CSPL-3775 Move verify prerequisites to setup
* CSPL-3775 Remove constants that already exist
* CSPL-3775 Standardizing suite_test.go
* CSPL-3775 Remove unused functions
* CSPL-3775 Replcaing duplicates among different tests
* CSPL-3775 Eliminating duplicated v3/v4 branching logic
* CSPL-3775 Each test case delegates to a shared Run*Test function, keeping the test file as a thin dispatch layer
* CSPL-3775 Standardize test code by fixing typos in log messages/comments, removing duplicate helpers, replacing inline logic with shared utilities
* CSPL-3775 Consistency improvements
* Fix Silent Failures (#1785)
* Enhance error handling in WaitforPhaseChange and fix variable name in NewTestCaseEnv
* Updated WaitforPhaseChange to log an error if the phase transition is not observed within the timeout.
* Corrected the variable name check in NewTestCaseEnv to use the provided name instead of an uninitialized envName.
* Changed Kind from "ClusterManager" to "ClusterMaster" in ClusterMaster struct.
* Update error logging in WaitforPhaseChange to use Error level for timeout observations
* CSPL-3775 Refactoring - common naming, format and making sure functinality is not malformed
* CSPL-3775 Eliminate duplicated verification patterns, fix redundant code, and standardize naming, godoc comments, and constants for consistency
* CSPL-3775 Reorganizing utils
* CSPL-3775 Removing gomega/ginkgo from utils
* CSPL-3775 Addressing timeout comments
* CSPL-3775 Fix test failures
* CSPL-3665 Fix License Manager tests
* CSPL-3775 Removing duplicates
* CSPL-3775 Move assertions out of helper functions
* CSPL-3775 Remove redundant inputs
* CSPL-3775 Final polishing to remove duplicates and make codebase more consistent
* CSPL-3775 Restoring accidentally removed test cases
* CSPL-3775 Making some improvements
* CSPL-3775 Adjust timeouts
* CSPL-4378 Adding timeout to app fw verification
* CSPL-4378 Fix failing managersmartstore test
* CSPL-3775 Revert changes that only match v3, skipped for v4
* CSPL-3775 Restoring backward compatibility
* CSPL-3775 Add missing assertions
* CSPL-3775 Add missing assertions
* CSPL-3775 Fixing manager smart store tests
* CSPL-3775 Increase timeout for app fw
* CSPL-3775 Adjust timeouts
* CSPL-3775 Increasing timeouts
* CSPL-3775 Fix introduced backward incompatibility
* CSPL-3775 Fix failing helm tests
---------
Co-authored-by: Jakub Buczak <jbuczak@splunk.com>1 parent fecd4c3 commit 47b2a05
File tree
113 files changed
+9521
-14357
lines changed- .github/workflows
- helm-chart/splunk-enterprise
- charts
- templates
- test
- appframework_aws
- c3
- m4
- s1
- appframework_az
- c3
- m4
- s1
- appframework_gcp
- c3
- m4
- s1
- custom_resource_crud
- delete_cr
- example
- index_and_ingestion_separation
- ingest_search
- licensemanager
- licensemaster
- monitoring_console
- secret
- smartstore
- smoke
- testenv
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
113 files changed
+9521
-14357
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
221 | | - | |
| 221 | + | |
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
197 | | - | |
| 197 | + | |
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
0 commit comments