We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7577a48 commit 1d11a7dCopy full SHA for 1d11a7d
1 file changed
pkg/ddc/alluxio/transform_resources_test.go
@@ -166,7 +166,8 @@ func mockAlluxioRuntimeForMaster(res corev1.ResourceRequirements) *datav1alpha1.
166
return runtime
167
168
}
169
-
+// TestTransformResourcesForWorkerNoValue 测试当资源未设置值时,TransformResourcesForWorker 函数的行为是否符合预期。
170
+// 该测试主要验证在输入资源缺少 value 字段的情况下,函数能否正确处理并返回预期结果。
171
func TestTransformResourcesForWorkerNoValue(t *testing.T) {
172
var tests = []struct {
173
runtime *datav1alpha1.AlluxioRuntime
0 commit comments