Skip to content

Commit

Permalink
Update step order
Browse files Browse the repository at this point in the history
  • Loading branch information
marabooy committed Sep 23, 2024
1 parent 7797ab1 commit d64e6a3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
12 changes: 6 additions & 6 deletions buildandtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ steps:
inputs:
version: '8.x'

# .NET Core App 2.1 is required to run the ESRP code signing task
- task: UseDotNet@2
inputs:
version: '2.1.x'

- task: DotNetCoreCLI@2
displayName: 'Build'
inputs:
Expand All @@ -48,4 +43,9 @@ steps:
command: 'test'
arguments: '--configuration $(buildConfiguration) --collect "Code coverage"'
projects: |
$(Build.SourcesDirectory)\test\EndToEndTests\Tests\Client\Microsoft.OData.Client.E2E.Tests\Microsoft.OData.Client.E2E.Tests.csproj
$(Build.SourcesDirectory)\test\EndToEndTests\Tests\Client\Microsoft.OData.Client.E2E.Tests\Microsoft.OData.Client.E2E.Tests.csproj
# .NET Core App 2.1 is required to run the ESRP code signing task
- task: UseDotNet@2
inputs:
version: '2.1.x'
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ public async Task VerifyConcurrentResultsAreIsolatedAsync()
services.AddDefaultODataServices();
ServiceProvider serviceProvider = services.BuildServiceProvider();

await Task.CompletedTask; // Added due to dotnet < 5 as async await cannot be used only in a loop
var content1 = string.Concat(Enumerable.Repeat('A', 1000_000));
var content2 = string.Concat(Enumerable.Repeat('B', 1000_000));
for (int i = 0; i < 1000; i++)
Expand Down

0 comments on commit d64e6a3

Please sign in to comment.