Skip to content

Commit 92f4426

Browse files
authored
Add Notation to TestPortallocator in pkg/ddc/base/portallocator/portallocator_suite_test.go. (#5726)
Signed-off-by: Li1as <heyunt@outlook.com>
1 parent 1db62a6 commit 92f4426

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

pkg/ddc/base/portallocator/portallocator_suite_test.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ import (
77
. "github.com/onsi/gomega"
88
)
99

10+
// TestPortallocator runs the port allocator test suite
11+
// Description:
12+
// This function serves as the entry point for the Ginkgo test framework to execute all test cases
13+
// related to the port allocator. It registers the Ginkgo fail handler via RegisterFailHandler
14+
// and starts the test suite using RunSpecs.
15+
// Parameters:
16+
// t *testing.T - The standard Go testing object used to control test execution flow
17+
// Returns: no return value
1018
func TestPortallocator(t *testing.T) {
1119
RegisterFailHandler(Fail)
1220
RunSpecs(t, "Portallocator Suite")

0 commit comments

Comments
 (0)