This website works better with JavaScript.
Explore
Help
Sign In
Mirrors
/
flux2
mirror of
https://github.com/fluxcd/flux2.git
Watch
1
Star
0
Fork
You've already forked flux2
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
776a7fc9c0
flux2
/
cmd
/
flux
/
testdata
/
helmrelease
/
suspend_helmrelease_from_gi...
3 lines
84 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Use shared envTest for unit tests Speed up unit tests by using a shared envTest. This requires each test to use its own namespace to avoid clobbering objects for other tests. Tests previously took around 8 seconds each, and now the initial test takes 2 seconds with follow up tests taking less than a second each. Also update existing tests that use a fixed namespace to use a generated namespace. Share gold file template function with yaml files. Remove the testClusterMode, and instead rely on MainTest to do the appropriate test setup and rootArgs flag setup. Move the rootArg flag setup out of NewTestEnvKubeManager to avoid side effects. A follow up change can be to push the individual setups from NewTestEnvKubeManager() into their respective TestMain since the harness share little code. Signed-off-by: Allen Porter <allen@thebends.org>
3 years ago
► suspending helmreleases thrfg in {{ .ns }} namespace
Refactor e2e tests Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
3 years ago
✔ helmreleases suspended