mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-26 01:15:00 +00:00
cmd: address typo in end-to-end tests
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
This commit is contained in:
parent
aa1eae22c7
commit
0ab8740832
1 changed files with 2 additions and 2 deletions
|
|
@ -41,7 +41,7 @@ func TestMain(m *testing.M) {
|
||||||
// Install Flux.
|
// Install Flux.
|
||||||
output, err := executeCommand("install --components-extra=image-reflector-controller,image-automation-controller")
|
output, err := executeCommand("install --components-extra=image-reflector-controller,image-automation-controller")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(fmt.Errorf("install falied: %s error:'%w'", output, err))
|
panic(fmt.Errorf("install failed: %s error:'%w'", output, err))
|
||||||
}
|
}
|
||||||
|
|
||||||
// Run tests
|
// Run tests
|
||||||
|
|
@ -50,7 +50,7 @@ func TestMain(m *testing.M) {
|
||||||
// Uninstall Flux
|
// Uninstall Flux
|
||||||
output, err = executeCommand("uninstall -s --keep-namespace")
|
output, err = executeCommand("uninstall -s --keep-namespace")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(fmt.Errorf("uninstall falied: %s error:'%w'", output, err))
|
panic(fmt.Errorf("uninstall failed: %s error:'%w'", output, err))
|
||||||
}
|
}
|
||||||
|
|
||||||
// Delete namespace and wait for finalisation
|
// Delete namespace and wait for finalisation
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue