Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for compareDates (0.06 sec)

  1. cni/pkg/install/cniconfig_test.go

    				if !c.expectedFailure {
    					t.Fatal(err)
    				}
    				return
    			}
    
    			goldenFilepath := existingConfFilepath + ".golden"
    			goldenConfig := testutils.ReadFile(t, goldenFilepath)
    			testutils.CompareBytes(t, output, goldenConfig, goldenFilepath)
    		})
    	}
    }
    
    const (
    	// For testing purposes, set kubeconfigFilename equivalent to the path in the test files and use __KUBECONFIG_FILENAME__
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  2. cni/pkg/install/install_test.go

    				resultConfig := testutils.ReadFile(t, cniConfigFilePath)
    
    				goldenFilepath := filepath.Join("testdata", c.expectedConfigFilename)
    				goldenConfig := testutils.ReadFile(t, goldenFilepath)
    				testutils.CompareBytes(t, resultConfig, goldenConfig, goldenFilepath)
    			} else if file.Exists(cniConfigFilePath) {
    				t.Fatalf("file %s was not deleted", c.configFilename)
    			}
    
    			// check if kubeconfig is deleted
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top