Skip to content

Commit 5c26c46

Browse files
committed
fix: revert accidental changes to base package
Restores pkg/ddc/base/base_suite_test.go and runtime_conventions_test.go to their upstream versions. These files should remain as package base_test (external test package) to avoid conflicts with existing tests. Signed-off-by: Harsh <harshmastic@gmail.com>
1 parent 1db9912 commit 5c26c46

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

pkg/ddc/base/base_suite_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
package base
17+
package base_test
1818

1919
import (
2020
"testing"

pkg/ddc/base/runtime_conventions_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
package base
17+
package base_test
1818

1919
import (
2020
"github.com/fluid-cloudnative/fluid/pkg/common"
21+
"github.com/fluid-cloudnative/fluid/pkg/ddc/base"
2122
. "github.com/onsi/ginkgo/v2"
2223
. "github.com/onsi/gomega"
2324
)
@@ -27,7 +28,7 @@ const testNamespace = "default"
2728
var _ = Describe("RuntimeInfo.GetWorkerStatefulsetName", func() {
2829
DescribeTable("returns correct statefulset name",
2930
func(runtimeName, runtimeType, suffix string) {
30-
info, err := BuildRuntimeInfo(runtimeName, testNamespace, runtimeType)
31+
info, err := base.BuildRuntimeInfo(runtimeName, testNamespace, runtimeType)
3132
Expect(err).NotTo(HaveOccurred())
3233
Expect(info.GetWorkerStatefulsetName()).To(Equal(runtimeName + suffix))
3334
},

0 commit comments

Comments
 (0)