Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita86d5c4

Browse files
committed
test adjustments for very slow runs on AppVeyor
1 parent5dd748b commita86d5c4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

‎src/fsharp/FSharp.Core.Unittests/FSharp.Core/Microsoft.FSharp.Control/AsyncModule.fs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ type AsyncModule() =
111111

112112
letendMs= DateTime.Now.Millisecond
113113
letdelta= endMs- startMs
114-
Assert.IsTrue(abs((abs delta)-500)<50, sprintf"Delta is too big%d" delta)
114+
Assert.IsTrue(abs((abs delta)-500)<400, sprintf"Delta is too big%d" delta)
115115

116116
[<Test>]
117117
memberthis.``AwaitWaitHandle.TimeoutWithCancellation``()=

‎src/fsharp/FSharp.Core.Unittests/FSharp.Core/Microsoft.FSharp.Control/AsyncType.fs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ type AsyncType() =
300300
returnfalse
301301
with e->returntrue
302302
}
303-
Async.RunSynchronously(a,1000)|> Assert.IsTrue
303+
Async.RunSynchronously(a,3000)|> Assert.IsTrue
304304

305305
[<Test>]
306306
memberthis.NonGenericTaskAsyncValueCancellation()=

‎src/fsharp/FSharp.Core.Unittests/SurfaceArea.4.0.fs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3479,7 +3479,7 @@ Microsoft.FSharp.Reflection.UnionCaseInfo: System.Type GetType()
34793479
Microsoft.FSharp.Reflection.UnionCaseInfo: System.Type get_DeclaringType()
34803480
"
34813481
letnormalize(s:string)=
3482-
s.Replace("\r\n\r\n","\r\n").Trim([|'\r';'\n'|])
3482+
s.Replace("\r\n\r\n","\r\n").Replace("\r\n","\n").Trim([|'\r';'\n'|])
34833483

34843484
letexpected=
34853485
expectedSurfaceArea|> normalize

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp