- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for CreateTmpDirectory (0.19 sec)
-
pkg/test/framework/testcontext.go
tmp, err := c.CreateDirectory(name) if err != nil { c.Fatalf("Error creating directory with name %q: %v", name, err) } return tmp } func (c *testContext) CreateTmpDirectory(prefix string) (string, error) { dir, err := os.MkdirTemp(c.workDir, prefix) if err != nil { scopes.Framework.Errorf("Error creating temp dir: runID='%v', prefix='%s', workDir='%v', err='%v'",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 11.4K bytes - Viewed (0) -
tests/integration/operator/switch_cr_test.go
) func TestController(t *testing.T) { framework. NewTest(t). Run(func(t framework.TestContext) { istioCtl := istioctl.NewOrFail(t, t, istioctl.Config{}) workDir, err := t.CreateTmpDirectory("operator-controller-test") if err != nil { t.Fatal("failed to create test directory") } cs := t.Clusters().Default() cleanupInClusterCRs(t, cs) t.Cleanup(func() {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 10 20:33:28 UTC 2024 - 17.5K bytes - Viewed (0) -
pkg/test/framework/components/istio/kube.go
scopes.Framework.Infof("\n%s", cfg.String()) scopes.Framework.Infof("================================") // Top-level work dir for Istio deployment. workDir, err := ctx.CreateTmpDirectory("istio-deployment") if err != nil { return nil, err } // Generate common IstioOperator yamls for different cluster types (primary, remote, remote-config)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 31.1K bytes - Viewed (0)