@@ -91,15 +91,15 @@ func TestAddSchemesToFramework(t *testing.T) {
9191 require .Nil (t , framework .AddToFrameworkScheme (v1beta2 .AddToScheme , & etcdCluster ))
9292
9393 t .Run ("end-to-end" , func (t * testing.T ) {
94- t .Run ("scenario-etcd-unannotated-app-db-sbr" , func (t * testing.T ) {
95- ServiceBinding (t , []Step {AppStep , EtcdClusterStep , SBREtcdStep })
96- })
97- t .Run ("scenario-db-app-sbr" , func (t * testing.T ) {
98- ServiceBinding (t , []Step {DBStep , AppStep , SBRStep })
99- })
100- t .Run ("scenario-app-db-sbr" , func (t * testing.T ) {
101- ServiceBinding (t , []Step {AppStep , DBStep , SBRStep })
102- })
94+ // t.Run("scenario-etcd-unannotated-app-db-sbr", func(t *testing.T) {
95+ // ServiceBinding(t, []Step{AppStep, EtcdClusterStep, SBREtcdStep})
96+ // })
97+ // t.Run("scenario-db-app-sbr", func(t *testing.T) {
98+ // ServiceBinding(t, []Step{DBStep, AppStep, SBRStep})
99+ // })
100+ // t.Run("scenario-app-db-sbr", func(t *testing.T) {
101+ // ServiceBinding(t, []Step{AppStep, DBStep, SBRStep})
102+ // })
103103 t .Run ("scenario-db-sbr-app" , func (t * testing.T ) {
104104 ServiceBinding (t , []Step {DBStep , SBRStep , AppStep })
105105 })
@@ -500,7 +500,7 @@ func serviceBindingRequestTest(
500500 }
501501 t .Logf ("Deployment: Result after attempts, error: '%#v'" , err )
502502 return true
503- }, 120 * time .Second , 2 * time .Second )
503+ }, 50 * time .Second , 2 * time .Second )
504504
505505 // retrying a few times to identify SBR status change to "success"
506506 t .Log ("Inspecting SBR status..." )
@@ -513,15 +513,15 @@ func serviceBindingRequestTest(
513513 }
514514 t .Logf ("SBR-Status: Result after attempts, error: '%#v'" , err )
515515 return true
516- }, 120 * time .Second , 2 * time .Second )
516+ }, 50 * time .Second , 2 * time .Second )
517517
518518 // checking intermediary secret contents, right after deployment the secrets must be in place
519519 t .Log ("Checking intermediary secret contents..." )
520520 require .Eventually (t , func () bool {
521521 t .Logf ("Inspecting SBR secret: '%s'" , intermediarySecretNamespacedName )
522522 _ , ok := assertSBRSecret (t , todoCtx , f , intermediarySecretNamespacedName , assertKeys )
523523 return ok
524- }, 120 * time .Second , 2 * time .Second )
524+ }, 50 * time .Second , 2 * time .Second )
525525
526526 // editing intermediary secret in order to trigger update event
527527 t .Log ("Editing intermediary secret in order to trigger update event..." )
@@ -534,7 +534,7 @@ func serviceBindingRequestTest(
534534 }
535535 t .Logf ("SBR-Secret: Result after update, error: '%#v'" , err )
536536 return true
537- }, 120 * time .Second , 2 * time .Second )
537+ }, 50 * time .Second , 2 * time .Second )
538538
539539 // retrying a few times to see if secret is back on original state, waiting for operator to
540540 // reconcile again when detecting the change
@@ -543,7 +543,7 @@ func serviceBindingRequestTest(
543543 t .Logf ("Inspecting secret: '%s'" , intermediarySecretNamespacedName )
544544 _ , ok := assertSBRSecret (t , todoCtx , f , intermediarySecretNamespacedName , assertKeys )
545545 return ok
546- }, 120 * time .Second , 2 * time .Second )
546+ }, 50 * time .Second , 2 * time .Second )
547547
548548 // executing deletion of the request, triggering unbinding actions
549549 t .Log ("Executing deletion of the request, triggering unbinding actions..." )
@@ -561,7 +561,7 @@ func serviceBindingRequestTest(
561561 }
562562 t .Logf ("Secret: Result after attempts, error: '%#v'" , err )
563563 return true
564- }, 120 * time .Second , 2 * time .Second )
564+ }, 50 * time .Second , 2 * time .Second )
565565
566566 // after deletion, deployment should not contain envFrom directive anymore
567567 t .Log ("Looking for envFrom directive in deployment after deleting sbr..." )
@@ -575,7 +575,7 @@ func serviceBindingRequestTest(
575575 }
576576 t .Logf ("Deployment contains envFrom directive, error: '%#v'" , err )
577577 return false
578- }, 120 * time .Second , 2 * time .Second )
578+ }, 50 * time .Second , 2 * time .Second )
579579}
580580
581581func CreateEtcdCluster (
0 commit comments