mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-13 21:25:09 +00:00
Fix a logic error in the events e2e test.
This commit is contained in:
@@ -172,7 +172,7 @@ func TestPodUpdate(c *client.Client) bool {
|
||||
// TestKubeletSendsEvent checks that kubelets and scheduler send events about pods scheduling and running.
|
||||
func TestKubeletSendsEvent(c *client.Client) bool {
|
||||
provider := os.Getenv("KUBERNETES_PROVIDER")
|
||||
if provider != "gce" {
|
||||
if len(provider) > 0 && provider != "gce" {
|
||||
glog.Infof("skipping TestKubeletSendsEvent on cloud provider %s", provider)
|
||||
return true
|
||||
}
|
||||
|
Reference in New Issue
Block a user