Skip to content
Merged
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/jindo/runtime_info_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ import (
"sigs.k8s.io/controller-runtime/pkg/client"
)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No blank line between comments and method. Leave one blank line between comments and import.

// newJindoEngineRT creates a new JindoEngine instance for testing.
// It initializes the engine with a default JindoRuntime and a null logger.
// When withRuntimeInfo is true, it also builds and assigns the runtimeInfo using the
// provided name, namespace, and common.JindoRuntime type. This helper is used in tests to
// simulate different runtime configurations.
func newJindoEngineRT(client client.Client, name string, namespace string, withRuntimeInfo bool) *JindoEngine {
runTimeInfo, _ := base.BuildRuntimeInfo(name, namespace, common.JindoRuntime)
engine := &JindoEngine{
Expand Down
Loading