Skip to content

Commit 063b04f

Browse files
Use default timeout and optimize build on Linux
1 parent 7add1c6 commit 063b04f

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Build.ps1

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,10 @@ CheckLastExitCode
9999
dotnet build -c Release
100100
CheckLastExitCode
101101

102-
RunInspectCode
103-
RunCleanupCode
102+
if ($isWindows) {
103+
RunInspectCode
104+
RunCleanupCode
105+
}
104106

105107
dotnet test -c Release --no-build --collect:"XPlat Code Coverage"
106108
CheckLastExitCode

src/Examples/CosmosDbExample/Startup.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ public void ConfigureServices(IServiceCollection services)
4242
{
4343
builder.ConnectionMode(ConnectionMode.Gateway);
4444
builder.LimitToEndpoint();
45-
46-
// Fail fast!
47-
builder.RequestTimeout(TimeSpan.FromSeconds(10));
4845
});
4946
#if DEBUG
5047
options.EnableSensitiveDataLogging();

0 commit comments

Comments
 (0)