Skip to content

Commit bdde823

Browse files
committed
stop orchestrators (#862)
1 parent e0a76a3 commit bdde823

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Modules/Microsoft.Azure.Functions.PowerShellWorker/Microsoft.Azure.Functions.PowerShellWorker.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ function Stop-DurableOrchestration {
160160

161161
$requestUrl = "$($DurableClient.BaseUrl)/instances/$InstanceId/terminate?reason=$([System.Web.HttpUtility]::UrlEncode($Reason))"
162162

163-
Invoke-RestMethod -Uri $requestUrl
163+
Invoke-RestMethod -Uri $requestUrl -Method 'POST'
164164
}
165165

166166
function IsValidUrl([uri]$Url) {

test/E2E/Azure.Functions.PowerShellWorker.E2E/Azure.Functions.PowerShellWorker.E2E/DurableEndToEndTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ private async Task ExternalEventClientSendsExternalEvents() {
693693
}
694694
}
695695

696-
[Fact(Skip = "https://github.com/Azure/azure-functions-powershell-worker/issues/640")]
696+
[Fact]
697697
public async Task DurableClientTerminatesOrchestration()
698698
{
699699
var initialResponse = await Utilities.GetHttpTriggerResponse("DurableClientTerminating", queryString: string.Empty);

0 commit comments

Comments
 (0)