@@ -648,7 +648,7 @@ var _ = Describe("Configuration testing for DPA Custom Resource", func() {
648
648
if len (dpa .Spec .Configuration .Velero .DefaultPlugins ) > 0 {
649
649
log .Printf ("Checking for default plugins" )
650
650
for _ , plugin := range dpa .Spec .Configuration .Velero .DefaultPlugins {
651
- Eventually (DoesPluginExist (namespace , plugin ), timeoutMultiplier * time .Minute * 3 , time .Second * 5 ).Should (BeTrue ())
651
+ Eventually (DoesPluginExist (namespace , plugin ), timeoutMultiplier * time .Minute * 6 , time .Second * 5 ).Should (BeTrue ())
652
652
}
653
653
}
654
654
@@ -657,21 +657,23 @@ var _ = Describe("Configuration testing for DPA Custom Resource", func() {
657
657
if len (dpa .Spec .Configuration .Velero .CustomPlugins ) > 0 {
658
658
log .Printf ("Checking for custom plugins" )
659
659
for _ , plugin := range dpa .Spec .Configuration .Velero .CustomPlugins {
660
- Eventually (DoesCustomPluginExist (namespace , plugin ), timeoutMultiplier * time .Minute * 3 , time .Second * 5 ).Should (BeTrue ())
660
+ Eventually (DoesCustomPluginExist (namespace , plugin ), timeoutMultiplier * time .Minute * 6 , time .Second * 5 ).Should (BeTrue ())
661
661
}
662
662
}
663
-
663
+
664
+ log .Printf ("Waiting for restic daemonset to have nodeselector" )
664
665
if dpa .Spec .Configuration .Restic != nil && dpa .Spec .Configuration .Restic .PodConfig != nil {
665
666
for key , value := range dpa .Spec .Configuration .Restic .PodConfig .NodeSelector {
666
667
log .Printf ("Waiting for restic daemonset to get node selector" )
667
- Eventually (ResticDaemonSetHasNodeSelector (namespace , key , value ), timeoutMultiplier * time .Minute * 3 , time .Second * 5 ).Should (BeTrue ())
668
+ Eventually (ResticDaemonSetHasNodeSelector (namespace , key , value ), timeoutMultiplier * time .Minute * 6 , time .Second * 5 ).Should (BeTrue ())
668
669
}
669
670
}
670
671
// wait at least 1 minute after reconciled
671
672
Eventually (func () bool {
672
673
//has it been at least 1 minute since reconciled?
674
+ log .Printf ("Waiting for 1 minute after reconciled: %v elapsed" , time .Since (timeReconciled ).String ())
673
675
return time .Now ().After (timeReconciled .Add (time .Minute ))
674
- }, timeoutMultiplier * time .Minute * 3 , time .Second ).Should (BeTrue ())
676
+ }, timeoutMultiplier * time .Minute * 5 , time .Second * 5 ).Should (BeTrue ())
675
677
adpLogsAfterOneMinute , err := GetOpenShiftADPLogs (dpaCR .Namespace )
676
678
Expect (err ).NotTo (HaveOccurred ())
677
679
// We expect adp logs to be the same after 1 minute
0 commit comments