diff --git a/pkg/storage/driver/cfgmaps_test.go b/pkg/storage/driver/cfgmaps_test.go index 626c36cb9..90fbe6264 100644 --- a/pkg/storage/driver/cfgmaps_test.go +++ b/pkg/storage/driver/cfgmaps_test.go @@ -147,6 +147,11 @@ func TestConfigMapQuery(t *testing.T) { if len(rls) != 2 { t.Errorf("Expected 2 results, got %d", len(rls)) } + for _, rls := range rls { + if rls.Labels["status"] != "deployed" { + t.Errorf("Expected status label on release") + } + } _, err = cfgmaps.Query(map[string]string{"name": "notExist"}) if err != ErrReleaseNotFound { diff --git a/pkg/storage/driver/secrets_test.go b/pkg/storage/driver/secrets_test.go index d509c7b3a..5401997f1 100644 --- a/pkg/storage/driver/secrets_test.go +++ b/pkg/storage/driver/secrets_test.go @@ -147,6 +147,11 @@ func TestSecretQuery(t *testing.T) { if len(rls) != 2 { t.Fatalf("Expected 2 results, actual %d", len(rls)) } + for _, rls := range rls { + if rls.Labels["status"] != "deployed" { + t.Errorf("Expected status label on release") + } + } _, err = secrets.Query(map[string]string{"name": "notExist"}) if err != ErrReleaseNotFound {