diff --git a/source/Octopus.Tentacle.Tests.Integration/Support/ExceptionContractAssertionBuilder.cs b/source/Octopus.Tentacle.Tests.Integration/Support/ExceptionContractAssertionBuilder.cs index 8e28cc03a..b44e46a08 100644 --- a/source/Octopus.Tentacle.Tests.Integration/Support/ExceptionContractAssertionBuilder.cs +++ b/source/Octopus.Tentacle.Tests.Integration/Support/ExceptionContractAssertionBuilder.cs @@ -82,7 +82,8 @@ public ExceptionContract Build() new[] { "Script execution was cancelled", - "A task was canceled." // Cancellation during StartScript while connecting throws the wrong error + "A task was canceled.", // Cancellation during connection can throw this error + "The operation was cancelled" // Cancellation during connection can throw this error }); }