mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-07 05:46:37 +00:00
Expose PVPatchMaximumDuration timeout for custom configuration
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com> remove debug log Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com> use resource timeout server arg Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com> add changelog Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com> remove hardcoded PVPatchMaximumtimeout const usagDe Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
This commit is contained in:
@@ -138,6 +138,7 @@ func TestRestoreFinalizerReconcile(t *testing.T) {
|
||||
metrics.NewServerMetrics(),
|
||||
fakeClient,
|
||||
hook.NewMultiHookTracker(),
|
||||
10*time.Minute,
|
||||
)
|
||||
r.clock = testclocks.NewFakeClock(now)
|
||||
|
||||
@@ -200,6 +201,7 @@ func TestUpdateResult(t *testing.T) {
|
||||
metrics.NewServerMetrics(),
|
||||
fakeClient,
|
||||
hook.NewMultiHookTracker(),
|
||||
10*time.Minute,
|
||||
)
|
||||
restore := builder.ForRestore(velerov1api.DefaultNamespace, "restore-1").Result()
|
||||
res := map[string]results.Result{"warnings": {}, "errors": {}}
|
||||
|
||||
Reference in New Issue
Block a user