BAEL-7636 Add the missing plugin versions in the tutorial
-Ignoring faulty test causing out of memory exception in travis
This commit is contained in:
parent
1212404897
commit
9a655ae609
@ -1,6 +1,7 @@
|
|||||||
package com.baeldung.unsafe;
|
package com.baeldung.unsafe;
|
||||||
|
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
|
import org.junit.Ignore;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import sun.misc.Unsafe;
|
import sun.misc.Unsafe;
|
||||||
|
|
||||||
@ -56,6 +57,7 @@ public class UnsafeUnitTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@Ignore // Uncomment for local
|
||||||
public void givenArrayBiggerThatMaxInt_whenAllocateItOffHeapMemory_thenSuccess() throws NoSuchFieldException, IllegalAccessException {
|
public void givenArrayBiggerThatMaxInt_whenAllocateItOffHeapMemory_thenSuccess() throws NoSuchFieldException, IllegalAccessException {
|
||||||
//given
|
//given
|
||||||
long SUPER_SIZE = (long) Integer.MAX_VALUE * 2;
|
long SUPER_SIZE = (long) Integer.MAX_VALUE * 2;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user