Skip to content
Merged
Show file tree
Hide file tree
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
8 changes: 5 additions & 3 deletions src/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ jobs:
- publish: $(System.DefaultWorkingDirectory)/packages
artifact: drop

- job: "E2ETests_Ubuntu"
- job: "E2ETests_Ubuntu"
pool:
name: '1ES-Hosted-AzFunc'
demands:
Expand Down Expand Up @@ -255,10 +255,12 @@ jobs:
displayName: "Setup E2E tests"
env:
CORE_TOOLS_URL: $(CORE_TOOLS_URL)

- task: DotNetCoreCLI@2
displayName: 'Run E2E tests'
inputs:
command: 'test'
arguments: '--no-build -c Release --filter "FullyQualifiedName~HttpTrigger"' #only run http tests to avoid emulators on Linux
projects: 'test/**/*Tests.csproj'
projects: |
test/**/*Tests.csproj
!test/**/Worker.Extensions.Rpc.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public void StorageFunctions()
AssertDictionary(extensions, new Dictionary<string, string>
{
{ "Microsoft.Azure.WebJobs.Extensions.Storage.Queues", "5.1.3" },
{ "Microsoft.Azure.WebJobs.Extensions.Storage.Blobs", "5.1.3" },
{ "Microsoft.Azure.WebJobs.Extensions.Storage.Blobs", "5.2.0" },
});

void ValidateQueueTrigger(ExpandoObject b)
Expand Down Expand Up @@ -267,7 +267,7 @@ public void BlobStorageFunctions_SDKTypeBindings()

AssertDictionary(extensions, new Dictionary<string, string>
{
{ "Microsoft.Azure.WebJobs.Extensions.Storage.Blobs", "5.1.3" },
{ "Microsoft.Azure.WebJobs.Extensions.Storage.Blobs", "5.2.0" },
});

var blobClientToBlobStringFunction = functions.Single(p => p.Name == "BlobClientToBlobStringFunction");
Expand Down Expand Up @@ -353,7 +353,7 @@ public void BlobCollectionFunctions_SDKTypeBindings()

AssertDictionary(extensions, new Dictionary<string, string>
{
{ "Microsoft.Azure.WebJobs.Extensions.Storage.Blobs", "5.1.3" },
{ "Microsoft.Azure.WebJobs.Extensions.Storage.Blobs", "5.2.0" },
});

var blobStringToBlobClientEnumerable = functions.Single(p => p.Name == "BlobStringToBlobClientEnumerable");
Expand Down Expand Up @@ -605,7 +605,7 @@ public void MultiOutput_OnReturnType()
AssertDictionary(extensions, new Dictionary<string, string>
{
{ "Microsoft.Azure.WebJobs.Extensions.Storage.Queues", "5.1.3" },
{ "Microsoft.Azure.WebJobs.Extensions.Storage.Blobs", "5.1.3" },
{ "Microsoft.Azure.WebJobs.Extensions.Storage.Blobs", "5.2.0" },
});

void ValidateQueueTrigger(ExpandoObject b)
Expand Down Expand Up @@ -806,7 +806,7 @@ public void CardinalityManyFunctions(string functionName, string entryPoint, boo
b => ValidateTrigger(b, cardinalityMany));

AssertDictionary(extensions, new Dictionary<string, string>(){
{ "Microsoft.Azure.WebJobs.Extensions.EventHubs", "5.4.0" }
{ "Microsoft.Azure.WebJobs.Extensions.EventHubs", "5.5.0" }
});

void ValidateTrigger(ExpandoObject b, bool many)
Expand Down Expand Up @@ -978,7 +978,7 @@ public void ServiceBus_SDKTypeBindings()

AssertDictionary(extensions, new Dictionary<string, string>
{
{ "Microsoft.Azure.WebJobs.Extensions.ServiceBus", "5.11.0" },
{ "Microsoft.Azure.WebJobs.Extensions.ServiceBus", "5.12.0" },
});

var serviceBusTriggerFunction = functions.Single(p => p.Name == nameof(SDKTypeBindings_ServiceBus.ServiceBusTriggerFunction));
Expand Down Expand Up @@ -1031,7 +1031,7 @@ public void EventHubs_SDKTypeBindings()

AssertDictionary(extensions, new Dictionary<string, string>
{
{ "Microsoft.Azure.WebJobs.Extensions.EventHubs", "5.4.0" },
{ "Microsoft.Azure.WebJobs.Extensions.EventHubs", "5.5.0" },
});

var eventHubTriggerFunction = functions.Single(p => p.Name == nameof(SDKTypeBindings_EventHubs.EventHubTriggerFunction));
Expand Down
2 changes: 1 addition & 1 deletion test/SdkE2ETests/PublishTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ private async Task RunPublishTest(string outputDir, string additionalParams = nu
"Microsoft.Azure.WebJobs.Extensions.FunctionMetadataLoader.Startup, Microsoft.Azure.WebJobs.Extensions.FunctionMetadataLoader, Version=1.0.0.0, Culture=neutral, PublicKeyToken=551316b6919f366c",
@"./.azurefunctions/Microsoft.Azure.WebJobs.Extensions.FunctionMetadataLoader.dll"),
new Extension("AzureStorageBlobs",
"Microsoft.Azure.WebJobs.Extensions.Storage.AzureStorageBlobsWebJobsStartup, Microsoft.Azure.WebJobs.Extensions.Storage.Blobs, Version=5.1.3.0, Culture=neutral, PublicKeyToken=92742159e12e44c8",
"Microsoft.Azure.WebJobs.Extensions.Storage.AzureStorageBlobsWebJobsStartup, Microsoft.Azure.WebJobs.Extensions.Storage.Blobs, Version=5.2.0.0, Culture=neutral, PublicKeyToken=92742159e12e44c8",
@"./.azurefunctions/Microsoft.Azure.WebJobs.Extensions.Storage.Blobs.dll"),
new Extension("AzureStorageQueues",
"Microsoft.Azure.WebJobs.Extensions.Storage.AzureStorageQueuesWebJobsStartup, Microsoft.Azure.WebJobs.Extensions.Storage.Queues, Version=5.1.3.0, Culture=neutral, PublicKeyToken=92742159e12e44c8",
Expand Down