@@ -28,7 +28,7 @@ open OpenTelemetry.Trace
28
28
29
29
#nowarn " 57"
30
30
31
- [<Fact>]
31
+ [<Fact( Skip = " Flaky. See https://github.com/dotnet/fsharp/issues/16766 " ) >]
32
32
let ``Use Transparent Compiler`` () =
33
33
34
34
let size = 20
@@ -58,7 +58,7 @@ let ``Use Transparent Compiler`` () =
58
58
checkFile last expectSignatureChanged
59
59
}
60
60
61
- [<Fact>]
61
+ [<Fact( Skip = " Flaky. See https://github.com/dotnet/fsharp/issues/16766 " ) >]
62
62
let ``Parallel processing`` () =
63
63
64
64
let project = SyntheticProject.Create(
@@ -76,7 +76,7 @@ let ``Parallel processing`` () =
76
76
checkFile " E" expectSignatureChanged
77
77
}
78
78
79
- [<Fact>]
79
+ [<Fact( Skip = " Flaky. See https://github.com/dotnet/fsharp/issues/16766 " ) >]
80
80
let ``Parallel processing with signatures`` () =
81
81
82
82
let project = SyntheticProject.Create(
@@ -111,29 +111,29 @@ let makeTestProject () =
111
111
let testWorkflow () =
112
112
ProjectWorkflowBuilder( makeTestProject(), useTransparentCompiler = true )
113
113
114
- [<Fact>]
114
+ [<Fact( Skip = " Flaky. See https://github.com/dotnet/fsharp/issues/16766 " ) >]
115
115
let ``Edit file , check it , then check dependent file`` () =
116
116
testWorkflow() {
117
117
updateFile " First" breakDependentFiles
118
118
checkFile " First" expectSignatureChanged
119
119
checkFile " Second" expectErrors
120
120
}
121
121
122
- [<Fact>]
122
+ [<Fact( Skip = " Flaky. See https://github.com/dotnet/fsharp/issues/16766 " ) >]
123
123
let ``Edit file , don't check it , check dependent file`` () =
124
124
testWorkflow() {
125
125
updateFile " First" breakDependentFiles
126
126
checkFile " Second" expectErrors
127
127
}
128
128
129
- [<Fact>]
129
+ [<Fact( Skip = " Flaky. See https://github.com/dotnet/fsharp/issues/16766 " ) >]
130
130
let ``Check transitive dependency`` () =
131
131
testWorkflow() {
132
132
updateFile " First" breakDependentFiles
133
133
checkFile " Last" expectSignatureChanged
134
134
}
135
135
136
- [<Fact>]
136
+ [<Fact( Skip = " Flaky. See https://github.com/dotnet/fsharp/issues/16766 " ) >]
137
137
let ``Change multiple files at once`` () =
138
138
testWorkflow() {
139
139
updateFile " First" ( setPublicVersion 2 )
@@ -142,7 +142,7 @@ let ``Change multiple files at once`` () =
142
142
checkFile " Last" ( expectSignatureContains " val f: x: 'a -> (ModuleFirst.TFirstV_2<'a> * ModuleSecond.TSecondV_2<'a>) * (ModuleFirst.TFirstV_2<'a> * ModuleThird.TThirdV_2<'a>) * TLastV_1<'a>" )
143
143
}
144
144
145
- [<Fact>]
145
+ [<Fact( Skip = " Flaky. See https://github.com/dotnet/fsharp/issues/16766 " ) >]
146
146
let ``Files depend on signature file if present`` () =
147
147
let project = makeTestProject() |> updateFile " First" addSignatureFile
148
148
@@ -152,7 +152,7 @@ let ``Files depend on signature file if present`` () =
152
152
checkFile " Second" expectNoChanges
153
153
}
154
154
155
- [<Fact>]
155
+ [<Fact( Skip = " Flaky. See https://github.com/dotnet/fsharp/issues/16766 " ) >]
156
156
let ``Project with signatures`` () =
157
157
158
158
let project = SyntheticProject.Create(
@@ -167,7 +167,7 @@ let ``Project with signatures`` () =
167
167
checkFile " Second" expectOk
168
168
}
169
169
170
- [<Fact>]
170
+ [<Fact( Skip = " Flaky. See https://github.com/dotnet/fsharp/issues/16766 " ) >]
171
171
let ``Signature update`` () =
172
172
173
173
let project = SyntheticProject.Create(
@@ -183,22 +183,22 @@ let ``Signature update`` () =
183
183
checkFile " Second" expectSignatureChanged
184
184
}
185
185
186
- [<Fact>]
186
+ [<Fact( Skip = " Flaky. See https://github.com/dotnet/fsharp/issues/16766 " ) >]
187
187
let ``Adding a file`` () =
188
188
testWorkflow() {
189
189
addFileAbove " Second" ( sourceFile " New" [])
190
190
updateFile " Second" ( addDependency " New" )
191
191
checkFile " Last" ( expectSignatureContains " val f: x: 'a -> (ModuleFirst.TFirstV_1<'a> * ModuleNew.TNewV_1<'a> * ModuleSecond.TSecondV_1<'a>) * (ModuleFirst.TFirstV_1<'a> * ModuleThird.TThirdV_1<'a>) * TLastV_1<'a>" )
192
192
}
193
193
194
- [<Fact>]
194
+ [<Fact( Skip = " Flaky. See https://github.com/dotnet/fsharp/issues/16766 " ) >]
195
195
let ``Removing a file`` () =
196
196
testWorkflow() {
197
197
removeFile " Second"
198
198
checkFile " Last" expectErrors
199
199
}
200
200
201
- [<Fact>]
201
+ [<Fact( Skip = " Flaky. See https://github.com/dotnet/fsharp/issues/16766 " ) >]
202
202
let ``Changes in a referenced project`` () =
203
203
let library = SyntheticProject.Create( " library" , sourceFile " Library" [])
204
204
@@ -217,7 +217,7 @@ let ``Changes in a referenced project`` () =
217
217
218
218
}
219
219
220
- [<Fact>]
220
+ [<Fact( Skip = " Flaky. See https://github.com/dotnet/fsharp/issues/16766 " ) >]
221
221
let ``File is not checked twice`` () =
222
222
223
223
let cacheEvents = ConcurrentQueue()
@@ -241,7 +241,7 @@ let ``File is not checked twice`` () =
241
241
Assert.Equal< JobEvent list>([ Weakened; Requested; Started; Finished], intermediateTypeChecks[ " FileFirst.fs" ])
242
242
Assert.Equal< JobEvent list>([ Weakened; Requested; Started; Finished], intermediateTypeChecks[ " FileThird.fs" ])
243
243
244
- [<Fact>]
244
+ [<Fact( Skip = " Flaky. See https://github.com/dotnet/fsharp/issues/16766 " ) >]
245
245
let ``If a file is checked as a dependency it 's not re - checked later`` () =
246
246
let cacheEvents = ConcurrentQueue()
247
247
@@ -265,7 +265,7 @@ let ``If a file is checked as a dependency it's not re-checked later`` () =
265
265
Assert.Equal< JobEvent list>([ Weakened; Requested; Started; Finished; Requested], intermediateTypeChecks[ " FileThird.fs" ])
266
266
267
267
268
- // [<Fact>] TODO: differentiate complete and minimal checking requests
268
+ // [<Fact(Skip="Flaky. See https://github.com/dotnet/fsharp/issues/16766") >] TODO: differentiate complete and minimal checking requests
269
269
let ``We don 't check files that are not depended on`` () =
270
270
let project = SyntheticProject.Create(
271
271
sourceFile " First" [],
@@ -295,7 +295,7 @@ let ``We don't check files that are not depended on`` () =
295
295
Assert.Equal< JobEvent list>([ Started; Finished], intermediateTypeChecks[ " FileThird.fs" ])
296
296
Assert.False ( intermediateTypeChecks.ContainsKey " FileSecond.fs" )
297
297
298
- // [<Fact>] TODO: differentiate complete and minimal checking requests
298
+ // [<Fact(Skip="Flaky. See https://github.com/dotnet/fsharp/issues/16766") >] TODO: differentiate complete and minimal checking requests
299
299
let ``Files that are not depended on don 't invalidate cache`` () =
300
300
let project = SyntheticProject.Create(
301
301
sourceFile " First" [],
@@ -336,7 +336,7 @@ let ``Files that are not depended on don't invalidate cache`` () =
336
336
337
337
Assert.Equal< string * JobEvent list>([], intermediateTypeChecks |> Map.toList)
338
338
339
- // [<Fact>] TODO: differentiate complete and minimal checking requests
339
+ // [<Fact(Skip="Flaky. See https://github.com/dotnet/fsharp/issues/16766") >] TODO: differentiate complete and minimal checking requests
340
340
let ``Files that are not depended on don 't invalidate cache part 2`` () =
341
341
let project = SyntheticProject.Create(
342
342
sourceFile " A" [],
@@ -376,7 +376,7 @@ let ``Files that are not depended on don't invalidate cache part 2`` () =
376
376
Assert.Equal< string * JobEvent list>([ " FileE.fs" , [ Started; Finished]], graphConstructions)
377
377
Assert.Equal< string * JobEvent list>([ " FileE.fs" , [ Started; Finished]], intermediateTypeChecks)
378
378
379
- [<Fact>]
379
+ [<Fact( Skip = " Flaky. See https://github.com/dotnet/fsharp/issues/16766 " ) >]
380
380
let ``Changing impl files doesn 't invalidate cache when they have signatures`` () =
381
381
let project = SyntheticProject.Create(
382
382
{ sourceFile " A" [] with SignatureFile = AutoGenerated },
@@ -405,7 +405,7 @@ let ``Changing impl files doesn't invalidate cache when they have signatures`` (
405
405
406
406
Assert.Equal< string * JobEvent list>([], intermediateTypeChecks)
407
407
408
- [<Fact>]
408
+ [<Fact( Skip = " Flaky. See https://github.com/dotnet/fsharp/issues/16766 " ) >]
409
409
let ``Changing impl file doesn 't invalidate an in - memory referenced project`` () =
410
410
let library = SyntheticProject.Create( " library" , { sourceFile " A" [] with SignatureFile = AutoGenerated })
411
411
@@ -789,7 +789,7 @@ module Stuff =
789
789
let fileName , snapshot , checker = singleFileChecker source
790
790
checker.ParseFile( fileName, snapshot) |> Async.RunSynchronously
791
791
792
- //[<Fact>]
792
+ //[<Fact(Skip="Flaky. See https://github.com/dotnet/fsharp/issues/16766") >]
793
793
let ``Hash stays the same when whitespace changes`` () =
794
794
795
795
//let parseResult = getParseResult source
@@ -845,7 +845,7 @@ let ``TypeCheck last file in project with transparent compiler`` useTransparentC
845
845
checkFile lastFile expectOk
846
846
}
847
847
848
- [<Fact>]
848
+ [<Fact( Skip = " Flaky. See https://github.com/dotnet/fsharp/issues/16766 " ) >]
849
849
let ``LoadClosure for script is computed once`` () =
850
850
let project = SyntheticProject.CreateForScript(
851
851
sourceFile " First" [])
@@ -870,7 +870,7 @@ let ``LoadClosure for script is computed once`` () =
870
870
871
871
Assert.Empty( closureComputations)
872
872
873
- [<Fact>]
873
+ [<Fact( Skip = " Flaky. See https://github.com/dotnet/fsharp/issues/16766 " ) >]
874
874
let ``LoadClosure for script is recomputed after changes`` () =
875
875
let project = SyntheticProject.CreateForScript(
876
876
sourceFile " First" [])
@@ -899,7 +899,7 @@ let ``LoadClosure for script is recomputed after changes`` () =
899
899
900
900
Assert.Equal< JobEvent list>([ Weakened; Requested; Started; Finished; Weakened; Requested; Started; Finished], closureComputations[ " FileFirst.fs" ])
901
901
902
- [<Fact>]
902
+ [<Fact( Skip = " Flaky. See https://github.com/dotnet/fsharp/issues/16766 " ) >]
903
903
let ``TryGetRecentCheckResultsForFile returns None before first call to ParseAndCheckFileInProject`` () =
904
904
let project = SyntheticProject.Create(
905
905
sourceFile " First" [])
@@ -909,7 +909,7 @@ let ``TryGetRecentCheckResultsForFile returns None before first call to ParseAnd
909
909
tryGetRecentCheckResults " First" expectNone
910
910
} |> ignore
911
911
912
- [<Fact>]
912
+ [<Fact( Skip = " Flaky. See https://github.com/dotnet/fsharp/issues/16766 " ) >]
913
913
let ``TryGetRecentCheckResultsForFile returns result after first call to ParseAndCheckFileInProject`` () =
914
914
let project = SyntheticProject.Create(
915
915
sourceFile " First" [] )
@@ -918,7 +918,7 @@ let ``TryGetRecentCheckResultsForFile returns result after first call to ParseAn
918
918
tryGetRecentCheckResults " First" expectSome
919
919
} |> ignore
920
920
921
- [<Fact>]
921
+ [<Fact( Skip = " Flaky. See https://github.com/dotnet/fsharp/issues/16766 " ) >]
922
922
let ``TryGetRecentCheckResultsForFile returns no result after edit`` () =
923
923
let project = SyntheticProject.Create(
924
924
sourceFile " First" [])
@@ -931,7 +931,7 @@ let ``TryGetRecentCheckResultsForFile returns no result after edit`` () =
931
931
tryGetRecentCheckResults " First" expectSome
932
932
} |> ignore
933
933
934
- [<Fact>]
934
+ [<Fact( Skip = " Flaky. See https://github.com/dotnet/fsharp/issues/16766 " ) >]
935
935
let ``TryGetRecentCheckResultsForFile returns result after edit of other file`` () =
936
936
let project = SyntheticProject.Create(
937
937
sourceFile " First" [],
@@ -945,7 +945,7 @@ let ``TryGetRecentCheckResultsForFile returns result after edit of other file``
945
945
tryGetRecentCheckResults " Second" expectSome // file didn't change so we still want to get the recent result
946
946
} |> ignore
947
947
948
- [<Fact>]
948
+ [<Fact( Skip = " Flaky. See https://github.com/dotnet/fsharp/issues/16766 " ) >]
949
949
let ``Background compiler and Transparent compiler return the same options`` () =
950
950
async {
951
951
let backgroundChecker = FSharpChecker.Create( useTransparentCompiler = false )
0 commit comments