public void Upgrade_Succeeds() { var result = DeployPackage(); result.AssertSuccess(); result.AssertOutputMatches($"NAMESPACE: {Namespace}"); result.AssertOutputMatches("STATUS: deployed"); result.AssertOutputMatches($"release \"{ReleaseName}\" uninstalled"); result.AssertOutput("Using custom helm executable at " + HelmExePath); Assert.AreEqual(ReleaseName.ToLower(), result.CapturedOutput.OutputVariables["ReleaseName"]); }
public override int GetHashCode() { unchecked { var hashCode = (FileParameters != null ? FileParameters.GetCollectionHashCode() : 0); hashCode = (hashCode * 397) ^ (Parameters != null ? Parameters.GetCollectionHashCode() : 0); hashCode = (hashCode * 397) ^ (ReleaseName != null ? ReleaseName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ValueFiles != null ? ValueFiles.GetCollectionHashCode() : 0); hashCode = (hashCode * 397) ^ (Values != null ? Values.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Version != null ? Version.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { int hash = 1; if (Action.Length != 0) { hash ^= Action.GetHashCode(); } if (Track.Length != 0) { hash ^= Track.GetHashCode(); } if (RegistryMirror.Length != 0) { hash ^= RegistryMirror.GetHashCode(); } if (DockerDaemonMtu.Length != 0) { hash ^= DockerDaemonMtu.GetHashCode(); } if (manifest_ != null) { hash ^= Manifest.GetHashCode(); } if (JobName.Length != 0) { hash ^= JobName.GetHashCode(); } if (ReleaseName.Length != 0) { hash ^= ReleaseName.GetHashCode(); } hash ^= events_.GetHashCode(); if (ciServer_ != null) { hash ^= CiServer.GetHashCode(); } if (buildParams_ != null) { hash ^= BuildParams.GetHashCode(); } if (releaseParams_ != null) { hash ^= ReleaseParams.GetHashCode(); } if (git_ != null) { hash ^= Git.GetHashCode(); } if (buildVersion_ != null) { hash ^= BuildVersion.GetHashCode(); } hash ^= credentials_.GetHashCode(); hash ^= trustedImages_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }