Skip to content

Commit 3fe427e

Browse files
committed
fix test
Signed-off-by: xliuqq <xlzq1992@gmail.com>
1 parent e216706 commit 3fe427e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pkg/ddc/juicefs/transform_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ func TestJuiceFSEngine_transformPodMetadata(t *testing.T) {
184184
Labels: map[string]string{"common-key": "common-value"},
185185
Annotations: map[string]string{"common-annotation": "val"},
186186
},
187+
UpdateStrategy: datav1alpha1.InPlaceIfPossible,
187188
},
188189
},
189190
Value: &JuiceFS{},
@@ -206,6 +207,7 @@ func TestJuiceFSEngine_transformPodMetadata(t *testing.T) {
206207
Labels: map[string]string{"common-key": "common-value"},
207208
Annotations: map[string]string{"common-annotation": "val"},
208209
},
210+
UpdateStrategy: datav1alpha1.InPlaceIfPossible,
209211
Worker: datav1alpha1.JuiceFSCompTemplateSpec{
210212
PodMetadata: datav1alpha1.PodMetadata{
211213
Labels: map[string]string{"common-key": "worker-value", common.RuntimePodType: common.RuntimeWorkerPod},

0 commit comments

Comments
 (0)