File tree Expand file tree Collapse file tree
Lucene.Net.Tests.Analysis.Common/Properties
Lucene.Net.Tests.Analysis.Kuromoji/Properties
Lucene.Net.Tests.Analysis.Phonetic/Properties
Lucene.Net.Tests.Analysis.SmartCn/Properties
Lucene.Net.Tests.Analysis.Stempel/Properties
Lucene.Net.Tests.Benchmark/Properties
Lucene.Net.Tests.Classification/Properties
Lucene.Net.Tests.Codecs/Properties
Lucene.Net.Tests.Expressions/Properties
Lucene.Net.Tests.Facet/Properties
Lucene.Net.Tests.Grouping/Properties
Lucene.Net.Tests.Highlighter/Properties
Lucene.Net.Tests.Join/Properties
Lucene.Net.Tests.Memory/Properties
Lucene.Net.Tests.Misc/Properties
Lucene.Net.Tests.Queries/Properties
Lucene.Net.Tests.QueryParser/Properties
Lucene.Net.Tests.Sandbox/Properties
Lucene.Net.Tests.Spatial/Properties
Lucene.Net.Tests.Suggest/Properties
Lucene.Net.Tests/Properties Expand file tree Collapse file tree Original file line number Diff line number Diff line change 147147
148148 <DefineConstants >$(DefineConstants);FEATURE_ICONFIGURATIONROOT_PROVIDERS</DefineConstants >
149149
150- <!-- NUnit's TimeoutAttribute does not work on modern .NET, and now errors at runtime.
151- See docs here: https://docs.nunit.org/articles/nunit/writing-tests/attributes/timeout.html -->
152- <DefineConstants >$(DefineConstants);FEATURE_NUNIT_TIMEOUTATTRIBUTE</DefineConstants >
153-
154150 </PropertyGroup >
155151
156152 <!-- Features in .NET Framework 4.5+ -->
Original file line number Diff line number Diff line change 1919 *
2020*/
2121
22- #if FEATURE_NUNIT_TIMEOUTATTRIBUTE
23- using NUnit . Framework ;
24- #endif
2522using System . Reflection ;
2623using System . Runtime . InteropServices ;
2724
3734
3835// The following GUID is for the ID of the typelib if this project is exposed to COM
3936[ assembly: Guid ( "fd602350-abed-4d1e-ad7b-709d18b0b464" ) ]
40-
41-
42- #if FEATURE_NUNIT_TIMEOUTATTRIBUTE
43- // LUCENENET specific - time out test projects at 55 minutes to allow the results
44- // to be uploaded before the 60 minute Azure DevOps job cutoff for easier troubleshooting
45- #pragma warning disable CS0618 // Type or member is obsolete
46- [ assembly: Timeout ( 3300000 ) ]
47- #pragma warning restore CS0618 // Type or member is obsolete
48- #endif
Original file line number Diff line number Diff line change 1515* limitations under the License.
1616*/
1717
18- #if FEATURE_NUNIT_TIMEOUTATTRIBUTE
19- using NUnit . Framework ;
20- #endif
2118using System . Reflection ;
2219using System . Runtime . InteropServices ;
2320
3330
3431// The following GUID is for the ID of the typelib if this project is exposed to COM
3532[ assembly: Guid ( "34a2bce8-1351-43bd-a365-f50e7c0b2c49" ) ]
36-
37- #if FEATURE_NUNIT_TIMEOUTATTRIBUTE
38- // LUCENENET specific - time out test projects at 55 minutes to allow the results
39- // to be uploaded before the 60 minute Azure DevOps job cutoff for easier troubleshooting
40- #pragma warning disable CS0618 // Type or member is obsolete
41- [ assembly: Timeout ( 3300000 ) ]
42- #pragma warning restore CS0618 // Type or member is obsolete
43- #endif
Original file line number Diff line number Diff line change 1919 *
2020*/
2121
22- #if FEATURE_NUNIT_TIMEOUTATTRIBUTE
23- using NUnit . Framework ;
24- #endif
2522using System . Reflection ;
2623using System . Runtime . InteropServices ;
2724
3734
3835// The following GUID is for the ID of the typelib if this project is exposed to COM
3936[ assembly: Guid ( "a2867797-0a5d-4878-8f59-58c399c9a4e4" ) ]
40-
41- #if FEATURE_NUNIT_TIMEOUTATTRIBUTE
42- // LUCENENET specific - time out test projects at 55 minutes to allow the results
43- // to be uploaded before the 60 minute Azure DevOps job cutoff for easier troubleshooting
44- #pragma warning disable CS0618 // Type or member is obsolete
45- [ assembly: Timeout ( 3300000 ) ]
46- #pragma warning restore CS0618 // Type or member is obsolete
47- #endif
Original file line number Diff line number Diff line change 1515* limitations under the License.
1616*/
1717
18- #if FEATURE_NUNIT_TIMEOUTATTRIBUTE
19- using NUnit . Framework ;
20- #endif
2118using System . Reflection ;
2219using System . Runtime . InteropServices ;
2320
3330
3431// The following GUID is for the ID of the typelib if this project is exposed to COM
3532[ assembly: Guid ( "8c8d78d3-bffd-4301-953b-fe5350b2aeeb" ) ]
36-
37- #if FEATURE_NUNIT_TIMEOUTATTRIBUTE
38- // LUCENENET specific - time out test projects at 55 minutes to allow the results
39- // to be uploaded before the 60 minute Azure DevOps job cutoff for easier troubleshooting
40- #pragma warning disable CS0618 // Type or member is obsolete
41- [ assembly: Timeout ( 3300000 ) ]
42- #pragma warning restore CS0618 // Type or member is obsolete
43- #endif
Original file line number Diff line number Diff line change 1919 *
2020*/
2121
22- #if FEATURE_NUNIT_TIMEOUTATTRIBUTE
23- using NUnit . Framework ;
24- #endif
2522using System . Reflection ;
2623using System . Runtime . InteropServices ;
2724
3734
3835// The following GUID is for the ID of the typelib if this project is exposed to COM
3936[ assembly: Guid ( "940a6ab1-f00a-40e2-bc1a-2898efa8c48f" ) ]
40-
41- #if FEATURE_NUNIT_TIMEOUTATTRIBUTE
42- // LUCENENET specific - time out test projects at 55 minutes to allow the results
43- // to be uploaded before the 60 minute Azure DevOps job cutoff for easier troubleshooting
44- #pragma warning disable CS0618 // Type or member is obsolete
45- [ assembly: Timeout ( 3300000 ) ]
46- #pragma warning restore CS0618 // Type or member is obsolete
47- #endif
Original file line number Diff line number Diff line change 1515 * limitations under the License.
1616 */
1717
18-
19- #if FEATURE_NUNIT_TIMEOUTATTRIBUTE
20- using NUnit . Framework ;
21- #endif
2218using System . Reflection ;
2319using System . Runtime . InteropServices ;
2420
3430
3531// The following GUID is for the ID of the typelib if this project is exposed to COM
3632[ assembly: Guid ( "9257f543-44e2-4db6-8b27-a8a354c13e5b" ) ]
37-
38- #if FEATURE_NUNIT_TIMEOUTATTRIBUTE
39- // LUCENENET specific - time out test projects at 55 minutes to allow the results
40- // to be uploaded before the 60 minute Azure DevOps job cutoff for easier troubleshooting
41- #pragma warning disable CS0618 // Type or member is obsolete
42- [ assembly: Timeout ( 3300000 ) ]
43- #pragma warning restore CS0618 // Type or member is obsolete
44- #endif
Original file line number Diff line number Diff line change 1919 *
2020*/
2121
22- #if FEATURE_NUNIT_TIMEOUTATTRIBUTE
23- using NUnit . Framework ;
24- #endif
2522using System . Reflection ;
2623using System . Runtime . InteropServices ;
2724
3734
3835// The following GUID is for the ID of the typelib if this project is exposed to COM
3936[ assembly: Guid ( "253246a8-7b09-4251-ab4c-7971d3b2be4a" ) ]
40-
41- #if FEATURE_NUNIT_TIMEOUTATTRIBUTE
42- // LUCENENET specific - time out test projects at 55 minutes to allow the results
43- // to be uploaded before the 60 minute Azure DevOps job cutoff for easier troubleshooting
44- #pragma warning disable CS0618 // Type or member is obsolete
45- [ assembly: Timeout ( 3300000 ) ]
46- #pragma warning restore CS0618 // Type or member is obsolete
47- #endif
Original file line number Diff line number Diff line change 3939// LUCENENET specific - only allow tests in this assembly to run one at a time
4040// to prevent polluting shared state.
4141[ assembly: LevelOfParallelism ( 1 ) ]
42-
43- #if FEATURE_NUNIT_TIMEOUTATTRIBUTE
44- // LUCENENET specific - time out this test project at 50 minutes to allow for time before this
45- // test runs and the results to be uploaded before the 60 minute Azure DevOps job cutoff for easier troubleshooting
46- #pragma warning disable CS0618 // Type or member is obsolete
47- [ assembly: Timeout ( 3000000 ) ]
48- #pragma warning restore CS0618 // Type or member is obsolete
49- #endif
Original file line number Diff line number Diff line change 1919 *
2020*/
2121
22- #if FEATURE_NUNIT_TIMEOUTATTRIBUTE
23- using NUnit . Framework ;
24- #endif
2522using System . Reflection ;
2623using System . Runtime . InteropServices ;
2724
3734
3835// The following GUID is for the ID of the typelib if this project is exposed to COM
3936[ assembly: Guid ( "0c789606-781d-47dc-b391-5ac367fce258" ) ]
40-
41- #if FEATURE_NUNIT_TIMEOUTATTRIBUTE
42- // LUCENENET specific - time out test projects at 55 minutes to allow the results
43- // to be uploaded before the 60 minute Azure DevOps job cutoff for easier troubleshooting
44- #pragma warning disable CS0618 // Type or member is obsolete
45- [ assembly: Timeout ( 3300000 ) ]
46- #pragma warning restore CS0618 // Type or member is obsolete
47- #endif
You can’t perform that action at this time.
0 commit comments