File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
test/Microsoft.Data.Analysis.Tests Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 77using System . Linq ;
88using System . Text ;
99using Apache . Arrow ;
10+ using Microsoft . ML . TestFramework . Attributes ;
1011using Xunit ;
1112
1213namespace Microsoft . Data . Analysis . Tests
@@ -188,16 +189,15 @@ public void TestArrowStringColumnClone()
188189 Assert . Null ( clone [ i ] ) ;
189190 }
190191
191- /* Don't run tests during build as they fail, because build if build machine doesn't have enought memory
192- [Fact]
192+ [ X64Fact ( "32-bit dosn't allow to allocate more than 2 Gb" ) ]
193193 public void TestAppend_SizeMoreThanMaxBufferCapacity ( )
194194 {
195195 //Check appending value, than can increase buffer size over MaxCapacity (default strategy is to double buffer capacity)
196196 PrimitiveDataFrameColumn < byte > intColumn = new PrimitiveDataFrameColumn < byte > ( "Byte1" , int . MaxValue / 2 - 1 ) ;
197197 intColumn . Append ( 10 ) ;
198198 }
199199
200- [Fact ]
200+ [ X64Fact ( "32-bit dosn't allow to allocate more than 2 Gb" ) ]
201201 public void TestAppendMany_SizeMoreThanMaxBufferCapacity ( )
202202 {
203203 const int MaxCapacityInBytes = 2147483591 ;
@@ -208,7 +208,6 @@ public void TestAppendMany_SizeMoreThanMaxBufferCapacity()
208208
209209 Assert . Equal ( MaxCapacityInBytes + 5 , intColumn . Length ) ;
210210 }
211- */
212211
213212 //#if !NETFRAMEWORK // https://github.com/dotnet/corefxlab/issues/2796
214213 // [Fact]
You can’t perform that action at this time.
0 commit comments