You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ho...@apache.org on 2021/04/21 21:00:29 UTC
[solr-operator] branch release-0.3 updated: Fix flakey
TestPersistentStorageVolumesRetain test
This is an automated email from the ASF dual-hosted git repository.
houston pushed a commit to branch release-0.3
in repository https://gitbox.apache.org/repos/asf/solr-operator.git
The following commit(s) were added to refs/heads/release-0.3 by this push:
new 4e44ec3 Fix flakey TestPersistentStorageVolumesRetain test
4e44ec3 is described below
commit 4e44ec30d28edd88095d085de3939f2e866c5c16
Author: Houston Putman <ho...@apache.org>
AuthorDate: Wed Apr 21 16:00:11 2021 -0500
Fix flakey TestPersistentStorageVolumesRetain test
---
controllers/solrcloud_controller_storage_test.go | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/controllers/solrcloud_controller_storage_test.go b/controllers/solrcloud_controller_storage_test.go
index e53c1d8..b4eb422 100644
--- a/controllers/solrcloud_controller_storage_test.go
+++ b/controllers/solrcloud_controller_storage_test.go
@@ -56,7 +56,7 @@ func TestPersistentStorageVolumesRetain(t *testing.T) {
VolumeReclaimPolicy: solr.VolumeReclaimPolicyRetain,
PersistentVolumeClaimTemplate: solr.PersistentVolumeClaimTemplate{
ObjectMeta: solr.TemplateMeta{
- Name: "other-data",
+ Name: "other-data-1",
Labels: map[string]string{"base": "here"},
},
},
@@ -102,6 +102,7 @@ func TestPersistentStorageVolumesRetain(t *testing.T) {
defer testClient.Delete(context.TODO(), instance)
g.Eventually(requests, timeout).Should(gomega.Receive(gomega.Equal(expectedCloudRequest)))
g.Eventually(requests, timeout).Should(gomega.Receive(gomega.Equal(expectedCloudRequest)))
+ g.Eventually(requests, timeout).Should(gomega.Receive(gomega.Equal(expectedCloudRequest)))
// Fetch new value of instance to check finalizers
foundInstance := &solr.SolrCloud{}
@@ -141,7 +142,7 @@ func TestPersistentStorageVolumesDelete(t *testing.T) {
VolumeReclaimPolicy: solr.VolumeReclaimPolicyDelete,
PersistentVolumeClaimTemplate: solr.PersistentVolumeClaimTemplate{
ObjectMeta: solr.TemplateMeta{
- Name: "other-data",
+ Name: "other-data-2",
Annotations: map[string]string{"base": "here"},
},
},