Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixing linux zip tests #2869

Merged
merged 1 commit into from
Nov 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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