File tree 1 file changed +3
-4
lines changed
test/Microsoft.Data.Analysis.Tests
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 7
7
using System . Linq ;
8
8
using System . Text ;
9
9
using Apache . Arrow ;
10
+ using Microsoft . ML . TestFramework . Attributes ;
10
11
using Xunit ;
11
12
12
13
namespace Microsoft . Data . Analysis . Tests
@@ -188,16 +189,15 @@ public void TestArrowStringColumnClone()
188
189
Assert . Null ( clone [ i ] ) ;
189
190
}
190
191
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" ) ]
193
193
public void TestAppend_SizeMoreThanMaxBufferCapacity ( )
194
194
{
195
195
//Check appending value, than can increase buffer size over MaxCapacity (default strategy is to double buffer capacity)
196
196
PrimitiveDataFrameColumn < byte > intColumn = new PrimitiveDataFrameColumn < byte > ( "Byte1" , int . MaxValue / 2 - 1 ) ;
197
197
intColumn . Append ( 10 ) ;
198
198
}
199
199
200
- [Fact ]
200
+ [ X64Fact ( "32-bit dosn't allow to allocate more than 2 Gb" ) ]
201
201
public void TestAppendMany_SizeMoreThanMaxBufferCapacity ( )
202
202
{
203
203
const int MaxCapacityInBytes = 2147483591 ;
@@ -208,7 +208,6 @@ public void TestAppendMany_SizeMoreThanMaxBufferCapacity()
208
208
209
209
Assert . Equal ( MaxCapacityInBytes + 5 , intColumn . Length ) ;
210
210
}
211
- */
212
211
213
212
//#if !NETFRAMEWORK // https://github.com/dotnet/corefxlab/issues/2796
214
213
// [Fact]
You can’t perform that action at this time.
0 commit comments