Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for InvokeOrFail (0.28 sec)

  1. tests/integration/pilot/istioctl_test.go

    			}
    			output, _ = istioCtl.InvokeOrFail(t, args)
    			jsonOutput := jsonUnmarshallOrFail(t, strings.Join(args, " "), output)
    			g.Expect(jsonOutput).To(HaveKey("bootstrap"))
    
    			args = []string{
    				"--namespace=dummy",
    				"pc", "cluster", fmt.Sprintf("%s.%s", podID, apps.Namespace.Name()), "-o", "json",
    			}
    			output, _ = istioCtl.InvokeOrFail(t, args)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. tests/integration/operator/verify_test.go

    				"--set", "tag=" + s.Image.Tag,
    				"--set", "values.global.variant=" + s.Image.Variant,
    				"--manifests=" + ManifestPath,
    				"-y",
    			}
    			istioCtl.InvokeOrFail(t, installCmd)
    
    			verifyCmd := []string{
    				"verify-install",
    			}
    			out, _ := istioCtl.InvokeOrFail(t, verifyCmd)
    			if !strings.Contains(out, "verified successfully") {
    				t.Fatalf("verify-install failed: %v", out)
    			}
    		})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. tests/integration/ambient/waypoint_test.go

    				},
    			})
    
    			istioctl.NewOrFail(t, t, istioctl.Config{}).InvokeOrFail(t, []string{
    				"waypoint",
    				"apply",
    				"--namespace",
    				nsConfig.Name(),
    				"--wait",
    			})
    
    			nameSet := []string{"", "w1", "w2"}
    			for _, name := range nameSet {
    				istioctl.NewOrFail(t, t, istioctl.Config{}).InvokeOrFail(t, []string{
    					"waypoint",
    					"apply",
    					"--namespace",
    					nsConfig.Name(),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. tests/integration/pilot/revisions/uninstall_test.go

    			// Uninstall with a different file (should have no effect)
    			istioCtl.InvokeOrFail(t, []string{"uninstall", "-f", randomFileName, "-r" + canaryRevision, "--skip-confirmation"})
    
    			// Check the webhook still exists
    			validateWebhookExistence()
    
    			// Uninstall with the correct file
    			istioCtl.InvokeOrFail(t, []string{"uninstall", "-f=" + customFileName, "-r=" + canaryRevision, "--skip-confirmation"})
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. tests/integration/operator/switch_cr_test.go

    			istioCtl.InvokeOrFail(t, initCmd)
    			t.TrackResource(&operatorDumper{rev: "v2"})
    
    			initCmd = []string{
    				"operator", "init",
    				"--hub=" + s.Image.Hub,
    				"--tag=" + tag,
    				"--manifests=" + ManifestPath,
    				"--revision=" + "v3",
    			}
    			// install third operator deployment with different revision
    			istioCtl.InvokeOrFail(t, initCmd)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  6. tests/integration/operator/install_test.go

    			})
    			assert.Error(t, err)
    
    			// Here we should have two activated webhooks, but dry-run should not report any error, which
    			// means the re-installation can be done successfully.
    			output, outErr := istioCtl.InvokeOrFail(t, []string{"install", "--dry-run"})
    			if !strings.Contains(output, "Made this installation the default for cluster-wide operations.") {
    				t.Errorf("install expects to succeed but didn't")
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 14:30:43 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. tests/integration/operator/uninstall_test.go

    					"--hub=" + s.Image.Hub,
    					"--tag=" + tag,
    					"--manifests=" + ManifestPath,
    				}
    				// install istio with default config for the first time by running operator init command
    				istioCtl.InvokeOrFail(t, initCmd)
    				t.TrackResource(&operatorDumper{rev: ""})
    
    				if _, err := cs.Kube().CoreV1().Namespaces().Create(context.TODO(), &corev1.Namespace{
    					ObjectMeta: metav1.ObjectMeta{
    						Name: IstioNamespace,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. tests/integration/pilot/revisions/revision_tag_test.go

    }
    
    func verifyRevision(t framework.TestContext, i istioctl.Instance, podName, podNamespace, revision string) {
    	t.Helper()
    	pcArgs := []string{"pc", "bootstrap", podName, "-n", podNamespace}
    	bootstrapConfig, _ := i.InvokeOrFail(t, pcArgs)
    	expected := fmt.Sprintf("\"discoveryAddress\": \"istiod-%s.istio-system.svc:15012\"", revision)
    	if !strings.Contains(bootstrapConfig, expected) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. tests/integration/pilot/analysis/analysis_test.go

      hosts:
      - reviews
      http:
      - route:
        - destination:
            host: reviews
    `).ApplyOrFail(t)
    			istioCtl := istioctl.NewOrFail(t, t, istioctl.Config{Cluster: t.Clusters().Default()})
    			istioCtl.InvokeOrFail(t, []string{"x", "wait", "-v", "VirtualService", "reviews." + ns.Name()})
    		})
    }
    
    func TestAnalysisWritesStatus(t *testing.T) {
    	// nolint: staticcheck
    	framework.NewTest(t).
    		RequiresLocalControlPlane().
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. pkg/test/framework/components/ambient/waypoint.go

    			}
    		})
    
    	}
    }
    
    func DeleteWaypoint(t framework.TestContext, ns namespace.Instance, waypoint string) {
    	istioctl.NewOrFail(t, t, istioctl.Config{}).InvokeOrFail(t, []string{
    		"waypoint",
    		"delete",
    		"--namespace",
    		ns.Name(),
    		waypoint,
    	})
    	waypointError := retry.UntilSuccess(func() error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top