@@ -13,19 +13,19 @@ open System.Collections.Generic
1313// the tryXXX versions are at the bottom half
1414//
1515
16- [<Fact>]
16+ [<Fact( Timeout = 10_000 ) >]
1717let ``TaskSeq - find on an empty sequence raises KeyNotFoundException`` () = task {
1818 fun () -> TaskSeq.empty |> TaskSeq.find ((=) 12 ) |> Task.ignore
1919 |> should throwAsyncExact typeof< KeyNotFoundException>
2020}
2121
22- [<Fact>]
22+ [<Fact( Timeout = 10_000 ) >]
2323let ``TaskSeq - find on an empty sequence raises KeyNotFoundException - variant`` () = task {
2424 fun () -> taskSeq { do () } |> TaskSeq.find ((=) 12 ) |> Task.ignore
2525 |> should throwAsyncExact typeof< KeyNotFoundException>
2626}
2727
28- [<Fact>]
28+ [<Fact( Timeout = 10_000 ) >]
2929let ``TaskSeq - findAsync on an empty sequence raises KeyNotFoundException`` () = task {
3030 fun () ->
3131 TaskSeq.empty
@@ -34,7 +34,7 @@ let ``TaskSeq-findAsync on an empty sequence raises KeyNotFoundException`` () =
3434 |> should throwAsyncExact typeof< KeyNotFoundException>
3535}
3636
37- [<Fact>]
37+ [<Fact( Timeout = 10_000 ) >]
3838let ``TaskSeq - find sad path raises KeyNotFoundException`` () = task {
3939 fun () ->
4040 createDummyTaskSeqWith 50 L< µs> 1000 L< µs> 50
@@ -44,7 +44,7 @@ let ``TaskSeq-find sad path raises KeyNotFoundException`` () = task {
4444 |> should throwAsyncExact typeof< KeyNotFoundException>
4545}
4646
47- [<Fact>]
47+ [<Fact( Timeout = 10_000 ) >]
4848let ``TaskSeq - findAsync sad path raises KeyNotFoundException`` () = task {
4949 fun () ->
5050 createDummyTaskSeqWith 50 L< µs> 1000 L< µs> 50
@@ -54,7 +54,7 @@ let ``TaskSeq-findAsync sad path raises KeyNotFoundException`` () = task {
5454 |> should throwAsyncExact typeof< KeyNotFoundException>
5555}
5656
57- [<Fact>]
57+ [<Fact( Timeout = 10_000 ) >]
5858let ``TaskSeq - find sad path raises KeyNotFoundException variant`` () = task {
5959 fun () ->
6060 createDummyTaskSeqWith 50 L< µs> 1000 L< µs> 50
@@ -64,7 +64,7 @@ let ``TaskSeq-find sad path raises KeyNotFoundException variant`` () = task {
6464 |> should throwAsyncExact typeof< KeyNotFoundException>
6565}
6666
67- [<Fact>]
67+ [<Fact( Timeout = 10_000 ) >]
6868let ``TaskSeq - findAsync sad path raises KeyNotFoundException variant`` () = task {
6969 fun () ->
7070 createDummyTaskSeqWith 50 L< µs> 1000 L< µs> 50
@@ -75,7 +75,7 @@ let ``TaskSeq-findAsync sad path raises KeyNotFoundException variant`` () = task
7575}
7676
7777
78- [<Fact>]
78+ [<Fact( Timeout = 10_000 ) >]
7979let ``TaskSeq - find happy path middle of seq`` () = task {
8080 let! twentyFive =
8181 createDummyTaskSeqWith 50 L< µs> 1000 L< µs> 50
@@ -84,7 +84,7 @@ let ``TaskSeq-find happy path middle of seq`` () = task {
8484 twentyFive |> should equal 25
8585}
8686
87- [<Fact>]
87+ [<Fact( Timeout = 10_000 ) >]
8888let ``TaskSeq - findAsync happy path middle of seq`` () = task {
8989 let! twentyFive =
9090 createDummyTaskSeqWith 50 L< µs> 1000 L< µs> 50
@@ -93,7 +93,7 @@ let ``TaskSeq-findAsync happy path middle of seq`` () = task {
9393 twentyFive |> should equal 25
9494}
9595
96- [<Fact>]
96+ [<Fact( Timeout = 10_000 ) >]
9797let ``TaskSeq - find happy path first item of seq`` () = task {
9898 let! first =
9999 createDummyTaskSeqWith 50 L< µs> 1000 L< µs> 50
@@ -102,7 +102,7 @@ let ``TaskSeq-find happy path first item of seq`` () = task {
102102 first |> should equal 1
103103}
104104
105- [<Fact>]
105+ [<Fact( Timeout = 10_000 ) >]
106106let ``TaskSeq - findAsync happy path first item of seq`` () = task {
107107 let! first =
108108 createDummyTaskSeqWith 50 L< µs> 1000 L< µs> 50
@@ -111,7 +111,7 @@ let ``TaskSeq-findAsync happy path first item of seq`` () = task {
111111 first |> should equal 1
112112}
113113
114- [<Fact>]
114+ [<Fact( Timeout = 10_000 ) >]
115115let ``TaskSeq - find happy path last item of seq`` () = task {
116116 let! last =
117117 createDummyTaskSeqWith 50 L< µs> 1000 L< µs> 50
@@ -120,7 +120,7 @@ let ``TaskSeq-find happy path last item of seq`` () = task {
120120 last |> should equal 50
121121}
122122
123- [<Fact>]
123+ [<Fact( Timeout = 10_000 ) >]
124124let ``TaskSeq - findAsync happy path last item of seq`` () = task {
125125 let! last =
126126 createDummyTaskSeqWith 50 L< µs> 1000 L< µs> 50
@@ -134,13 +134,13 @@ let ``TaskSeq-findAsync happy path last item of seq`` () = task {
134134// TaskSeq.tryFindAsync
135135//
136136
137- [<Fact>]
137+ [<Fact( Timeout = 10_000 ) >]
138138let ``TaskSeq - tryFind on an empty sequence returns None`` () = task {
139139 let! nothing = TaskSeq.empty |> TaskSeq.tryFind ((=) 12 )
140140 nothing |> should be None'
141141}
142142
143- [<Fact>]
143+ [<Fact( Timeout = 10_000 ) >]
144144let ``TaskSeq - tryFindAsync on an empty sequence returns None`` () = task {
145145 let! nothing =
146146 TaskSeq.empty
@@ -149,7 +149,7 @@ let ``TaskSeq-tryFindAsync on an empty sequence returns None`` () = task {
149149 nothing |> should be None'
150150}
151151
152- [<Fact>]
152+ [<Fact( Timeout = 10_000 ) >]
153153let ``TaskSeq - tryFind sad path returns None`` () = task {
154154 let! nothing =
155155 createDummyTaskSeqWith 50 L< µs> 1000 L< µs> 50
@@ -158,7 +158,7 @@ let ``TaskSeq-tryFind sad path returns None`` () = task {
158158 nothing |> should be None'
159159}
160160
161- [<Fact>]
161+ [<Fact( Timeout = 10_000 ) >]
162162let ``TaskSeq - tryFindAsync sad path return None`` () = task {
163163 let! nothing =
164164 createDummyTaskSeqWith 50 L< µs> 1000 L< µs> 50
@@ -167,7 +167,7 @@ let ``TaskSeq-tryFindAsync sad path return None`` () = task {
167167 nothing |> should be None'
168168}
169169
170- [<Fact>]
170+ [<Fact( Timeout = 10_000 ) >]
171171let ``TaskSeq - tryFind sad path returns None variant`` () = task {
172172 let! nothing =
173173 createDummyTaskSeqWith 50 L< µs> 1000 L< µs> 50
@@ -176,7 +176,7 @@ let ``TaskSeq-tryFind sad path returns None variant`` () = task {
176176 nothing |> should be None'
177177}
178178
179- [<Fact>]
179+ [<Fact( Timeout = 10_000 ) >]
180180let ``TaskSeq - tryFindAsync sad path return None - variant`` () = task {
181181 let! nothing =
182182 createDummyTaskSeqWith 50 L< µs> 1000 L< µs> 50
@@ -186,7 +186,7 @@ let ``TaskSeq-tryFindAsync sad path return None - variant`` () = task {
186186}
187187
188188
189- [<Fact>]
189+ [<Fact( Timeout = 10_000 ) >]
190190let ``TaskSeq - tryFind happy path middle of seq`` () = task {
191191 let! twentyFive =
192192 createDummyTaskSeqWith 50 L< µs> 1000 L< µs> 50
@@ -196,7 +196,7 @@ let ``TaskSeq-tryFind happy path middle of seq`` () = task {
196196 twentyFive |> should equal ( Some 25 )
197197}
198198
199- [<Fact>]
199+ [<Fact( Timeout = 10_000 ) >]
200200let ``TaskSeq - tryFindAsync happy path middle of seq`` () = task {
201201 let! twentyFive =
202202 createDummyTaskSeqWith 50 L< µs> 1000 L< µs> 50
@@ -206,7 +206,7 @@ let ``TaskSeq-tryFindAsync happy path middle of seq`` () = task {
206206 twentyFive |> should equal ( Some 25 )
207207}
208208
209- [<Fact>]
209+ [<Fact( Timeout = 10_000 ) >]
210210let ``TaskSeq - tryFind happy path first item of seq`` () = task {
211211 let! first =
212212 createDummyTaskSeqWith 50 L< µs> 1000 L< µs> 50
@@ -216,7 +216,7 @@ let ``TaskSeq-tryFind happy path first item of seq`` () = task {
216216 first |> should equal ( Some 1 )
217217}
218218
219- [<Fact>]
219+ [<Fact( Timeout = 10_000 ) >]
220220let ``TaskSeq - tryFindAsync happy path first item of seq`` () = task {
221221 let! first =
222222 createDummyTaskSeqWith 50 L< µs> 1000 L< µs> 50
@@ -226,7 +226,7 @@ let ``TaskSeq-tryFindAsync happy path first item of seq`` () = task {
226226 first |> should equal ( Some 1 )
227227}
228228
229- [<Fact>]
229+ [<Fact( Timeout = 10_000 ) >]
230230let ``TaskSeq - tryFind happy path last item of seq`` () = task {
231231 let! last =
232232 createDummyTaskSeqWith 50 L< µs> 1000 L< µs> 50
@@ -236,7 +236,7 @@ let ``TaskSeq-tryFind happy path last item of seq`` () = task {
236236 last |> should equal ( Some 50 )
237237}
238238
239- [<Fact>]
239+ [<Fact( Timeout = 10_000 ) >]
240240let ``TaskSeq - tryFindAsync happy path last item of seq`` () = task {
241241 let! last =
242242 createDummyTaskSeqWith 50 L< µs> 1000 L< µs> 50
0 commit comments