From cab877924eb15d01ecffddf144dc34c76d678afe Mon Sep 17 00:00:00 2001 From: Andrew Lavery Date: Wed, 19 Jun 2019 14:30:04 -0700 Subject: [PATCH] metadata test no longer fetches from upstream, only uses edit the entitlements of the customer changed, and this will prevent future breakage --- integration/init_app/integration_test.go | 5 +++++ integration/init_app/license-info/metadata.yaml | 1 + 2 files changed, 6 insertions(+) diff --git a/integration/init_app/integration_test.go b/integration/init_app/integration_test.go index 52c42964a..c4f224c9f 100644 --- a/integration/init_app/integration_test.go +++ b/integration/init_app/integration_test.go @@ -34,6 +34,7 @@ type TestMetadata struct { // debugging SkipCleanup bool `yaml:"skip_cleanup"` SkipEdit bool `yaml:"skip_edit"` + SkipInit bool `yaml:"skip_init"` } func TestInitReplicatedApp(t *testing.T) { @@ -99,6 +100,10 @@ var _ = Describe("ship init replicated.app/...", func() { }, 20) It("Should output files matching those expected when communicating with the graphql api", func() { + if testMetadata.SkipInit { + Skip("this test case is set to skip init tests") + return + } upstream := "staging.replicated.app/some-cool-ci-tool" diff --git a/integration/init_app/license-info/metadata.yaml b/integration/init_app/license-info/metadata.yaml index d6e69cd04..7612e7981 100644 --- a/integration/init_app/license-info/metadata.yaml +++ b/integration/init_app/license-info/metadata.yaml @@ -6,3 +6,4 @@ replacements: "signature.*" : "signature: replaced signature" skip_cleanup: false skip_edit: false +skip_init: true