mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	Merge pull request #40602 from deads2k/unit-test-with-go
Automatic merge from submit-queue run unit tests with go, not just bazel Follow up to https://github.com/kubernetes/kubernetes/pull/40594, effectively reverts #39105. I think we should run our unit tests using the official golang infrastructure. I have no objection to also running them in bazel (or running a subset in bazel), but I don't think that bazel should be the primary unit test method. @smarterclayton @liggitt @ixdy @spxtr
This commit is contained in:
		@@ -55,8 +55,7 @@ make generated_files
 | 
			
		||||
go install ./cmd/...
 | 
			
		||||
./hack/install-etcd.sh
 | 
			
		||||
 | 
			
		||||
# bazel didn't like BUILD files in the staging repos, so we need to run unit tests
 | 
			
		||||
make test WHAT="./vendor/k8s.io/apimachinery/... ./vendor/k8s.io/apiserver/... ./vendor/k8s.io/client-go/..."
 | 
			
		||||
make test
 | 
			
		||||
make test-cmd
 | 
			
		||||
make test-integration
 | 
			
		||||
./hack/test-update-storage-objects.sh
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user