Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for UPDATE_COMPATIBILITY_FIXTURE_DATA (0.84 sec)

  1. hack/update-generated-api-compatibility-data.sh

    # UPDATE_COMPATIBILITY_FIXTURE_DATA=true regenerates fixture data if needed.
    # -run //HEAD only runs the test cases comparing against testdata for HEAD.
    # We suppress the output because we are expecting to have changes.
    # We suppress the test failure that occurs when there are changes.
    UPDATE_COMPATIBILITY_FIXTURE_DATA=true go test k8s.io/api -run //HEAD >/dev/null 2>&1 || true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:44 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/testdata/README.md

    and to round-trip back to serialized form with identical bytes.
    Adding new fields or API types *is* expected to modify these fixtures. To regenerate them, run:
    
    ```sh
    UPDATE_COMPATIBILITY_FIXTURE_DATA=true go test k8s.io/api -run //HEAD
    ```
    
    ## Previous versions
    
    The vX.Y.Z subdirectories contain serialized API objects from previous releases:
    
    ```
    vX.Y.Z/
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:52 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/api/apitesting/roundtrip/compatibility.go

    			// t.Logf("json (for locating the offending field based on surrounding data): %s", string(expectedJSON))
    		}
    	}
    
    	if needsUpdate {
    		const updateEnvVar = "UPDATE_COMPATIBILITY_FIXTURE_DATA"
    		if os.Getenv(updateEnvVar) == "true" {
    			writeFile(t, c.TestDataDirCurrentVersion, gvk, "", "json", expectedJSON)
    			writeFile(t, c.TestDataDirCurrentVersion, gvk, "", "yaml", expectedYAML)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 16:38:32 UTC 2023
    - 17.8K bytes
    - Viewed (0)
Back to top