Fix a logic error in the events e2e test.

pull/6/head
Brendan Burns 2014-12-01 22:40:00 -08:00
parent 7ee75893e1
commit 92e8ebcb55
1 changed files with 1 additions and 1 deletions

View File

@ -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
}