Skip to content

Commit 882517d

Browse files
committed
Get faster hang results
1 parent f0ee6d3 commit 882517d

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

.azure/pipelines/jobs/default-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ parameters:
5858
installTar: true
5959
installNodeJs: true
6060
installJdk: true
61-
timeoutInMinutes: 180
61+
timeoutInMinutes: 30
6262

6363
# We need longer than the default amount of 5 minutes to upload our logs/artifacts. (We currently take around 5 mins in the best case).
6464
# This makes sure we have time to upload everything in the case of a build timeout - really important for investigating a build
@@ -130,7 +130,7 @@ jobs:
130130
- ${{ if and(eq(parameters.agentOs, 'Windows'), eq(parameters.isTestingJob, true)) }}:
131131
- powershell: ./eng/scripts/InstallProcDump.ps1
132132
displayName: Install ProcDump
133-
- powershell: ./eng/scripts/StartDumpCollectionForHangingBuilds.ps1 $(ProcDumpPath)procdump.exe artifacts/dumps/ (Get-Date).AddMinutes(160) dotnet
133+
- powershell: ./eng/scripts/StartDumpCollectionForHangingBuilds.ps1 $(ProcDumpPath)procdump.exe artifacts/dumps/ (Get-Date).AddMinutes(20) dotnet
134134
displayName: Start background dump collection
135135
- ${{ if eq(parameters.installNodeJs, 'true') }}:
136136
- task: NodeTool@0

src/Shared/E2ETesting/BrowserTestBase.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
// Copyright (c) .NET Foundation. All rights reserved.
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

4-
using System;
5-
using System.Collections.Generic;
6-
using System.Linq;
74
using System.Threading;
85
using System.Threading.Tasks;
96
using OpenQA.Selenium;
10-
using OpenQA.Selenium.Support.UI;
117
using Xunit;
128
using Xunit.Abstractions;
13-
using Xunit.Sdk;
149

1510
namespace Microsoft.AspNetCore.E2ETesting
1611
{

0 commit comments

Comments
 (0)