Skip to content

Commit

Permalink
[NOT FOR REVIEW] Improve test stability
Browse files Browse the repository at this point in the history
Signed-off-by: Zhecheng Li <zhechengli@microsoft.com>
  • Loading branch information
lzhecheng committed Jul 7, 2022
1 parent 073c782 commit ce32afd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Expand Up @@ -359,6 +359,11 @@ test-e2e-capz: ## Run k8s e2e tests with capz
hack/test_k8s_e2e_capz.sh $(TEST_E2E_ARGS)

test-ccm-e2e: ## Run cloud provider e2e tests.
echo $(KUBECONFIG)
pwd
KUBECONFIG="" kubectl config get-contexts
KUBECONFIG="" kubectl get machinepool -A
KUBECONFIG="" kubectl get clusters
go test ./tests/e2e/ -timeout 0 -v -ginkgo.v $(CCM_E2E_ARGS)

.PHONY: clean
Expand Down
1 change: 1 addition & 0 deletions pkg/provider/azure_vmss_cache.go
Expand Up @@ -337,5 +337,6 @@ func (ss *ScaleSet) isNodeManagedByAvailabilitySet(nodeName string, crt azcache.
}

cachedVMs := cached.(availabilitySetNodeEntry).vmNames
fmt.Println("test")
return cachedVMs.Has(nodeName), nil
}

0 comments on commit ce32afd

Please sign in to comment.