Skip to content

Commit 6e04da8

Browse files
committed
stop orchestrators (#862)
1 parent 833f55b commit 6e04da8

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
@@ -632,7 +632,7 @@ private async Task ExternalEventClientSendsExternalEvents() {
632632
}
633633
}
634634

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

0 commit comments

Comments
 (0)