Commit fed0ad5
authored
🐛 Client go version metrics endpoint test (#1821)
* Adds TEST_FILTER env var to e2e run
Signed-off-by: Brett Tofel <[email protected]>
* Rewrite metrics endpoint test to use client-go
test/utils.go deleted because no used funcs
Signed-off-by: Brett Tofel <[email protected]>
* Rm pointer helpers, use k8s ones.
Signed-off-by: Brett Tofel <[email protected]>
* Rename main test client to globalClient (de-shadow "c")
Signed-off-by: Brett Tofel <[email protected]>
* Use apierrors, move deferred cleanup, less nesting
Signed-off-by: Brett Tofel <[email protected]>
* Rename main test cfg->globalConfig de-shadow "cfg"
Signed-off-by: Brett Tofel <[email protected]>
* Allow test-unit filter on package and test
Have to have package filter too, to not run all the unit tests due to UNIT_TEST_DIRS
Signed-off-by: Brett Tofel <[email protected]>
* Drop UNIT_TEST_DIRS for TEST_PKGS + TEST_FILTER
Signed-off-by: Brett Tofel <[email protected]>
* Remove ENVTEST_VERSION dupe in Makefile
Signed-off-by: Brett Tofel <[email protected]>
---------
Signed-off-by: Brett Tofel <[email protected]>1 parent 7fc18c6 commit fed0ad5
File tree
5 files changed
+361
-270
lines changed- test
- e2e
- utils
5 files changed
+361
-270
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
212 | 215 | | |
213 | 216 | | |
214 | 217 | | |
| |||
224 | 227 | | |
225 | 228 | | |
226 | 229 | | |
227 | | - | |
| 230 | + | |
| 231 | + | |
228 | 232 | | |
229 | 233 | | |
230 | 234 | | |
| |||
0 commit comments