From 3e1ef1043af1add48360dca594843933a6cc1a61 Mon Sep 17 00:00:00 2001 From: Marcin Owsiany Date: Sat, 16 Nov 2019 01:10:00 -0800 Subject: [PATCH] Wait for CRD to be established. (#1053) Otherwise creation of the custom resource races with CRD establishment, and fails in case it wins. --- pkg/test/test_data/crd-in-step/00-assert.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkg/test/test_data/crd-in-step/00-assert.yaml b/pkg/test/test_data/crd-in-step/00-assert.yaml index 308e9728a..bf0b79436 100644 --- a/pkg/test/test_data/crd-in-step/00-assert.yaml +++ b/pkg/test/test_data/crd-in-step/00-assert.yaml @@ -11,3 +11,8 @@ status: singular: mycrd storedVersions: - v1beta1 + conditions: + - type: NamesAccepted + status: "True" + - type: Established + status: "True"