diff --git a/pkg/ddc/alluxio/transform_resources_test.go b/pkg/ddc/alluxio/transform_resources_test.go index df1bd3a993a..bd6f2c7f8b6 100644 --- a/pkg/ddc/alluxio/transform_resources_test.go +++ b/pkg/ddc/alluxio/transform_resources_test.go @@ -602,6 +602,12 @@ func TestTransformResourcesForWorkerWithOnlyLimit(t *testing.T) { } } +// TestTransformResourcesForFuseNoValue tests the transformResourcesForFuse function in AlluxioEngine +// when no resource values are specified in the AlluxioRuntime Spec. It verifies that: +// 1. The function can handle empty AlluxioRuntime Spec without errors +// 2. No resource limits are set on the Fuse when no values are specified +// The test creates a mock AlluxioRuntime with empty Spec and checks the resulting Alluxio configuration +// doesn't contain any Fuse resource limits. func TestTransformResourcesForFuseNoValue(t *testing.T) { var tests = []struct { runtime *datav1alpha1.AlluxioRuntime diff --git a/samples/hdfs/target/classes/io/fluid/demo/HDFSClient.class b/samples/hdfs/target/classes/io/fluid/demo/HDFSClient.class new file mode 100644 index 00000000000..5b756a3128e Binary files /dev/null and b/samples/hdfs/target/classes/io/fluid/demo/HDFSClient.class differ