Merge pull request #5647 from danfengliu/add-sleep-for-refresh-crd

Add sleep before backing up new born CRD
pull/5648/head
lyndon 2022-11-30 10:50:52 +08:00 committed by GitHub
commit 9c62a9be81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 0 deletions

0
1 Normal file
View File

View File

@ -117,6 +117,8 @@ func APIExtensionsVersionsTest() {
Expect(CRDShouldExist(context.Background(), crdName)).To(Succeed())
Expect(WaitForCRDEstablished(crdName)).To(Succeed())
Expect(AddLabelToCRD(context.Background(), crdName, label)).To(Succeed())
// Discovery helper is refreshed every 5 minutes
time.Sleep(6 * time.Minute)
})
By("Backup CRD", func() {

Binary file not shown.