Fix error handling for delete pod (#685)
* Fix error handling for delete pod - Error handling was looking for a k8s error from the provider, but providers should be using errdefs. - Error handling was returning early if pod was not found and deleting from k8s in all other cases. * Don't run unit tests twice
This commit is contained in:
6
Makefile
6
Makefile
@@ -83,11 +83,9 @@ else
|
||||
endif
|
||||
|
||||
test:
|
||||
@echo "Testing..."
|
||||
$Q go test -mod=vendor $(if $V,-v) $(allpackages) # install -race libs to speed up next run
|
||||
ifndef CI
|
||||
@echo "Testing Outside CI..."
|
||||
$Q GODEBUG=cgocheck=2 go test -mod=vendor $(allpackages)
|
||||
@echo "Testing..."
|
||||
$Q go test -mod=vendor $(if $V,-v) $(allpackages)
|
||||
else
|
||||
@echo "Testing in CI..."
|
||||
$Q mkdir -p test
|
||||
|
||||
Reference in New Issue
Block a user