Skip to content

Commit

Permalink
fixing linux zip tests (#2869)
Browse files Browse the repository at this point in the history
  • Loading branch information
brettsam authored Nov 14, 2024
1 parent 28829c4 commit ffb8a46
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/FunctionMetadataGeneratorTests/ZipDeployTaskTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace Microsoft.Azure.Functions.SdkTests
public class ZipDeployTaskTests
{
private static string _testZippedPublishContentsPath;
private const string TestAssemblyToTestZipPath = @"Resources\TestPublishContents.zip";
private const string TestAssemblyToTestZipPath = @"Resources/TestPublishContents.zip";
private const string UserAgentName = "functions-core-tools";
private const string UserAgentVersion = "1.0";

Expand Down Expand Up @@ -50,7 +50,7 @@ public async Task ExecuteZipDeploy_InvalidZipFilePath()
/// <summary>
/// ZipDeploy should use PublishUrl if not null or empty, else use SiteName.
/// </summary>
[Theory(Skip = "https://github.com/Azure/azure-functions-dotnet-worker/issues/2781")]
[Theory]
[InlineData("https://sitename.scm.azurewebsites.net", null, false, "https://sitename.scm.azurewebsites.net/api/zipdeploy?isAsync=true")]
[InlineData("https://sitename.scm.azurewebsites.net", null, true, "https://sitename.scm.azurewebsites.net/api/publish?RemoteBuild=false")]
[InlineData("https://sitename.scm.azurewebsites.net", "", false, "https://sitename.scm.azurewebsites.net/api/zipdeploy?isAsync=true")]
Expand Down Expand Up @@ -96,7 +96,7 @@ public async Task ExecuteZipDeploy_NeitherPublishUrlNorSiteNameGiven(string publ
await RunZipDeployAsyncTest(publishUrl, siteName, UserAgentVersion, useBlobContainerDeploy: false, HttpStatusCode.OK, verifyStep);
}

[Theory(Skip = "https://github.com/Azure/azure-functions-dotnet-worker/issues/2781")]
[Theory]
[InlineData(HttpStatusCode.OK, false, true)]
[InlineData(HttpStatusCode.OK, true, true)]
[InlineData(HttpStatusCode.Accepted, false, true)]
Expand Down

0 comments on commit ffb8a46

Please sign in to comment.