mirror of
https://github.com/helm/helm.git
synced 2026-07-06 22:58:11 +00:00
removing duplicate empty test
Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
This commit is contained in:
@@ -1638,36 +1638,3 @@ func intToInt32(i int) *int32 {
|
||||
i32 := int32(i)
|
||||
return &i32
|
||||
}
|
||||
|
||||
func TestReadyChecker_isPodReady(t *testing.T) {
|
||||
type fields struct {
|
||||
client kubernetes.Interface
|
||||
log func(string, ...interface{})
|
||||
checkJobs bool
|
||||
pausedAsReady bool
|
||||
}
|
||||
type args struct {
|
||||
pod *corev1.Pod
|
||||
}
|
||||
tests := []struct {
|
||||
name string
|
||||
fields fields
|
||||
args args
|
||||
want bool
|
||||
}{
|
||||
// TODO: Add test cases.
|
||||
}
|
||||
for _, tt := range tests {
|
||||
t.Run(tt.name, func(t *testing.T) {
|
||||
c := &ReadyChecker{
|
||||
client: tt.fields.client,
|
||||
log: tt.fields.log,
|
||||
checkJobs: tt.fields.checkJobs,
|
||||
pausedAsReady: tt.fields.pausedAsReady,
|
||||
}
|
||||
if got := c.isPodReady(tt.args.pod); got != tt.want {
|
||||
t.Errorf("isPodReady() = %v, want %v", got, tt.want)
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user