mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	@@ -175,6 +175,12 @@ func TestExampleObjectSchemas(t *testing.T) {
 | 
			
		||||
			"claim-02": &api.PersistentVolumeClaim{},
 | 
			
		||||
			"claim-03": &api.PersistentVolumeClaim{},
 | 
			
		||||
		},
 | 
			
		||||
		"../examples/iscsi/v1beta1": {
 | 
			
		||||
			"iscsi": &api.Pod{},
 | 
			
		||||
		},
 | 
			
		||||
		"../examples/iscsi/v1beta3": {
 | 
			
		||||
			"iscsi": &api.Pod{},
 | 
			
		||||
		},
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	for path, expected := range cases {
 | 
			
		||||
@@ -182,7 +188,7 @@ func TestExampleObjectSchemas(t *testing.T) {
 | 
			
		||||
		err := walkJSONFiles(path, func(name, path string, data []byte) {
 | 
			
		||||
			expectedType, found := expected[name]
 | 
			
		||||
			if !found {
 | 
			
		||||
				t.Errorf("%s does not have a test case defined", path)
 | 
			
		||||
				t.Errorf("%s: %s does not have a test case defined", path, name)
 | 
			
		||||
				return
 | 
			
		||||
			}
 | 
			
		||||
			tested += 1
 | 
			
		||||
@@ -210,6 +216,7 @@ func TestReadme(t *testing.T) {
 | 
			
		||||
	paths := []string{
 | 
			
		||||
		"../README.md",
 | 
			
		||||
		"../examples/walkthrough/README.md",
 | 
			
		||||
		"../examples/iscsi/README.md",
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	for _, path := range paths {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user