Skip to content

Commit

Permalink
#208. UPDATE e2e_composability_test: removed the tests verifying flux…
Browse files Browse the repository at this point in the history
… due to remove of flux composed component in the composability example.
  • Loading branch information
Michael Winberry committed Mar 3, 2022
1 parent b1c3ade commit 01a7b22
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/e2e/e2e_composability_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ func TestE2eExampleComposability(t *testing.T) {
require.NoError(e2e.testing, err, output)

// Validate that the composed sub packages exist
require.Contains(e2e.testing, "flux-baseline", output)
require.Contains(e2e.testing, "appliance-demo-multi-games-baseline", output)

// Establish the port-forward into the game service; give the service a few seconds to come up since this is not a command we can retry
Expand All @@ -50,11 +49,6 @@ func TestE2eExampleComposability(t *testing.T) {
require.NoError(e2e.testing, err, output)
require.Contains(e2e.testing, "Zarf needs games too", output)

// Validate that the flux composed component was deployed by describing the flux helm controller and validating availibility
output, err = e2e.runSSHCommand(`sudo bash -c '/usr/sbin/kubectl describe deployment helm-controller -n flux-system'`)
require.NoError(e2e.testing, err, output)
require.Contains(e2e.testing, "1 desired | 1 updated | 1 total | 1 available | 0 unavailable", output)

// Run `zarf destroy` to make sure that works correctly
output, err = e2e.runSSHCommand("sudo bash -c 'cd /home/%s/build && ./zarf destroy --confirm'", e2e.username)
require.NoError(e2e.testing, err, output)
Expand Down

0 comments on commit 01a7b22

Please sign in to comment.