Skip to content

Commit 33224dc

Browse files
authored
chore(df): bump default version to v1.32.0 (#344)
* chore(df): bump default version to v1.32.0 Signed-off-by: Abhradeep Chakraborty <[email protected]> * fix Signed-off-by: Abhradeep Chakraborty <[email protected]> --------- Signed-off-by: Abhradeep Chakraborty <[email protected]>
1 parent 7926b18 commit 33224dc

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

e2e/dragonfly_controller_test.go

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ var _ = Describe("Dragonfly Lifecycle tests", Ordered, FlakeAttempts(3), func()
193193
rc, err := checkAndK8sPortForwardRedis(ctx, clientset, cfg, stopChan, name, namespace, password, 6391)
194194
Expect(err).To(BeNil())
195195
defer close(stopChan)
196+
defer rc.Close()
196197

197198
// insert test data
198199
Expect(rc.Set(ctx, "foo", "bar", 0).Err()).To(BeNil())
@@ -306,7 +307,7 @@ var _ = Describe("Dragonfly Lifecycle tests", Ordered, FlakeAttempts(3), func()
306307
}, &df)
307308
Expect(err).To(BeNil())
308309

309-
df.Spec.Image = fmt.Sprintf("%s:%s", resources.DragonflyImage, "v1.28.1")
310+
df.Spec.Image = fmt.Sprintf("%s:%s", resources.DragonflyImage, "v1.30.3")
310311
err = k8sClient.Update(ctx, &df)
311312
Expect(err).To(BeNil())
312313
})
@@ -496,6 +497,7 @@ var _ = Describe("Dragonfly Lifecycle tests", Ordered, FlakeAttempts(3), func()
496497
defer close(stopChan)
497498
rc, err := checkAndK8sPortForwardRedis(ctx, clientset, cfg, stopChan, name, namespace, password, 6395)
498499
Expect(err).To(BeNil())
500+
defer rc.Close()
499501

500502
// Check for test data
501503
data, err := rc.Get(ctx, "foo").Result()
@@ -721,6 +723,8 @@ var _ = Describe("Dragonfly tiering test with single replica", Ordered, FlakeAtt
721723
stopChan := make(chan struct{}, 1)
722724
rc, err := checkAndK8sPortForwardRedis(ctx, clientset, cfg, stopChan, name, namespace, "", 6393)
723725
Expect(err).To(BeNil())
726+
defer close(stopChan)
727+
defer rc.Close()
724728

725729
// Insert BIG value (>64B so it is eligible for tiering)
726730
const size = 1 << 20 // 1 MiB
@@ -735,7 +739,6 @@ var _ = Describe("Dragonfly tiering test with single replica", Ordered, FlakeAtt
735739
Expect(entries).To(Equal(int64(0))) // make sure this matches your expectation
736740

737741
Expect(rc.Set(ctx, "foo", payload, 0).Err()).To(BeNil())
738-
defer close(stopChan)
739742

740743
// Inserted one big key, tiered entries should be 1
741744
infoStr, err = rc.Info(ctx, "tiered").Result()
@@ -842,6 +845,7 @@ var _ = Describe("Dragonfly PVC Test with single replica", Ordered, FlakeAttempt
842845
// Insert test data
843846
Expect(rc.Set(ctx, "foo", "bar", 0).Err()).To(BeNil())
844847
close(stopChan)
848+
rc.Close()
845849

846850
// delete the single replica
847851
var pod corev1.Pod
@@ -870,6 +874,7 @@ var _ = Describe("Dragonfly PVC Test with single replica", Ordered, FlakeAttempt
870874
stopChan = make(chan struct{}, 1)
871875
rc, err = checkAndK8sPortForwardRedis(ctx, clientset, cfg, stopChan, name, namespace, "", 6394)
872876
defer close(stopChan)
877+
defer rc.Close()
873878
Expect(err).To(BeNil())
874879

875880
// check if the Data exists

internal/resources/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ limitations under the License.
1717
package resources
1818

1919
const (
20-
Version = "v1.30.3"
20+
Version = "v1.32.0"
2121
)

0 commit comments

Comments
 (0)