@@ -754,27 +754,27 @@ func TestBookinfo(t *testing.T) {
754754 framework .NewTest (t ).Run (func (t framework.TestContext ) {
755755 namespace := apps .Namespace .Name ()
756756 // Install bookinfo.
757- if _ , err := shell .Execute (true , fmt .Sprintf ("kubectl apply -f https://raw.githubusercontent.com/istio/istio/release-1.22 /samples/bookinfo/platform/kube/bookinfo.yaml -n %s" , namespace )); err != nil {
757+ if _ , err := shell .Execute (true , fmt .Sprintf ("kubectl apply -f https://raw.githubusercontent.com/istio/istio/release-1.24 /samples/bookinfo/platform/kube/bookinfo.yaml -n %s" , namespace )); err != nil {
758758 t .Fatalf ("failed to install bookinfo: %v" , err )
759759 }
760760 t .Cleanup (func () {
761- if _ , err := shell .Execute (true , fmt .Sprintf ("kubectl delete -f https://raw.githubusercontent.com/istio/istio/release-1.22 /samples/bookinfo/platform/kube/bookinfo.yaml -n %s" , namespace )); err != nil {
761+ if _ , err := shell .Execute (true , fmt .Sprintf ("kubectl delete -f https://raw.githubusercontent.com/istio/istio/release-1.24 /samples/bookinfo/platform/kube/bookinfo.yaml -n %s" , namespace )); err != nil {
762762 t .Fatalf ("failed to delete bookinfo: %v" , err )
763763 }
764764 })
765765
766766 // Install sleep as client.
767- if _ , err := shell .Execute (true , fmt .Sprintf ("kubectl apply -f https://raw.githubusercontent.com/istio/istio/release-1.22 /samples/sleep/sleep.yaml -n %s" , namespace )); err != nil {
767+ if _ , err := shell .Execute (true , fmt .Sprintf ("kubectl apply -f https://raw.githubusercontent.com/istio/istio/release-1.24 /samples/sleep/sleep.yaml -n %s" , namespace )); err != nil {
768768 t .Fatalf ("failed to install sleep as client of bookinfo: %v" , err )
769769 }
770770 t .Cleanup (func () {
771- if _ , err := shell .Execute (true , fmt .Sprintf ("kubectl delete -f https://raw.githubusercontent.com/istio/istio/release-1.22 /samples/sleep/sleep.yaml -n %s" , namespace )); err != nil {
771+ if _ , err := shell .Execute (true , fmt .Sprintf ("kubectl delete -f https://raw.githubusercontent.com/istio/istio/release-1.24 /samples/sleep/sleep.yaml -n %s" , namespace )); err != nil {
772772 t .Fatalf ("failed to delete sleep as client of bookinfo: %v" , err )
773773 }
774774 })
775775
776776 fetchFn := testKube .NewSinglePodFetch (t .Clusters ().Default (), namespace )
777- if _ , err := testKube .WaitUntilPodsAreReady (fetchFn ); err != nil {
777+ if _ , err := testKube .WaitUntilPodsAreReady (fetchFn , retry . Timeout ( 15 * time . Minute ), retry . Delay ( 5 * time . Second ) ); err != nil {
778778 t .Fatalf ("failed to wait bookinfo pods to be ready: %v" , err )
779779 }
780780
@@ -797,7 +797,7 @@ func TestBookinfo(t *testing.T) {
797797 return true
798798 }
799799
800- if err := retry .Until (checkBookinfo , retry .Timeout (600 * time .Second ), retry .Delay ( 1 * time .Second )); err != nil {
800+ if err := retry .Until (checkBookinfo , retry .Timeout (900 * time .Second ), retry .BackoffDelay ( 3 * time .Second )); err != nil {
801801 t .Fatal ("failed to access bookinfo correctly: %v" , err )
802802 }
803803
@@ -815,7 +815,7 @@ func TestBookinfo(t *testing.T) {
815815 UnsetWaypoint (t , namespace , "" , Namespace )
816816 })
817817
818- if err := retry .Until (checkBookinfo , retry .Timeout (600 * time .Second ), retry .Delay ( 1 * time .Second )); err != nil {
818+ if err := retry .Until (checkBookinfo , retry .Timeout (900 * time .Second ), retry .BackoffDelay ( 3 * time .Second )); err != nil {
819819 t .Fatal ("failed to access bookinfo correctly when there is a namespace waypoint: %v" , err )
820820 }
821821 })
0 commit comments