We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dabe1ed commit fb35274Copy full SHA for fb35274
pkg/ddc/alluxio/utils_test.go
@@ -622,6 +622,10 @@ func TestGetMasterStatefulset(t *testing.T) {
622
}
623
624
625
+// TestGetDaemonset is a unit test for the AlluxioEngine.getDaemonset method.
626
+// It uses a fake Kubernetes client to simulate an AlluxioRuntime and a corresponding DaemonSet object,
627
+// verifying whether getDaemonset correctly retrieves the expected DaemonSet based on the provided name and namespace.
628
+// The test checks both the returned object and error status to ensure functional correctness and robustness.
629
func TestGetDaemonset(t *testing.T) {
630
type fields struct {
631
runtime *datav1alpha1.AlluxioRuntime
0 commit comments