From 44d5815663d5b599a7e8f693bec8f9170d051e8e Mon Sep 17 00:00:00 2001 From: Mike Danese Date: Fri, 19 Jun 2015 10:57:46 -0700 Subject: [PATCH] fix broken integration tests --- test/integration/service_account_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/service_account_test.go b/test/integration/service_account_test.go index 1c3d692b244..3b07c39b146 100644 --- a/test/integration/service_account_test.go +++ b/test/integration/service_account_test.go @@ -254,8 +254,8 @@ func TestServiceAccountTokenAutoMount(t *testing.T) { if err != nil { t.Fatal(err) } - if createdPod.Spec.ServiceAccount != expectedServiceAccount { - t.Fatalf("Expected %s, got %s", expectedServiceAccount, createdPod.Spec.ServiceAccount) + if createdPod.Spec.ServiceAccountName != expectedServiceAccount { + t.Fatalf("Expected %s, got %s", expectedServiceAccount, createdPod.Spec.ServiceAccountName) } if !api.Semantic.DeepEqual(&expectedVolumes, &createdPod.Spec.Volumes) { t.Fatalf("Expected\n\t%#v\n\tgot\n\t%#v", expectedVolumes, createdPod.Spec.Volumes)