Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for checkResult (0.14 sec)

  1. cni/test/install_cni.go

    	}
    	if !chainedCNIPlugin {
    		installConfig.InstallConfig.ChainedCNIPlugin = false
    	}
    
    	startInstallServer(ctx, &installConfig, t)
    }
    
    // checkResult checks if resultFile is equal to expectedFile at each tick until timeout
    func checkResult(result, expected string) error {
    	resultFile, err := os.ReadFile(result)
    	if err != nil {
    		return fmt.Errorf("couldn't read result: %v", err)
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  2. istioctl/pkg/checkinject/checkinject_test.go

    			t.Fatal(err)
    		}
    		whs = append(whs, *wh)
    	}
    	for _, c := range cases {
    		t.Run(c.name, func(t *testing.T) {
    			checkResults := analyzeRunningWebhooks(whs,
    				c.pod.Labels, c.ns.Labels)
    			assert.Equal(t, c.expectedMessages, checkResults)
    		})
    	}
    }
    
    var nsTestObject = func(namespace, injLabelValue, revLabelValue string) *corev1.Namespace {
    	labels := map[string]string{}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 10.6K bytes
    - Viewed (0)
Back to top