Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions pkg/ddc/alluxio/transform_resources_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,11 @@ func mockAlluxioRuntimeForMaster(res corev1.ResourceRequirements) *datav1alpha1.

}

// TestTransformResourcesForWorkerNoValue tests whether the TransformResourcesForWorker
// function behaves as expected when resources have no set values.
//
// This test primarily verifies if the function can correctly handle
// and return the expected result when the input resources lack the value field.
func TestTransformResourcesForWorkerNoValue(t *testing.T) {
var tests = []struct {
runtime *datav1alpha1.AlluxioRuntime
Expand Down
1 change: 1 addition & 0 deletions pkg/ddc/juicefs/create_volume_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ import (
//
// Parameters:
// - t *testing.T: A testing.T object used to manage test state and support test log output.
//
// Returns:
// - No return value. If the test fails, errors will be reported via t.Errorf.
func TestJuiceFSEngine_CreateVolume(t *testing.T) {
Expand Down
Loading