File tree 3 files changed +7
-7
lines changed
src/test/java/rx/internal
3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ if (project.hasProperty('release.useLastTag')) {
61
61
}
62
62
63
63
test {
64
- maxHeapSize = " 2g "
64
+ maxHeapSize = " 1500m "
65
65
}
66
66
67
67
license {
Original file line number Diff line number Diff line change @@ -341,8 +341,8 @@ public void call() {
341
341
342
342
@ Test
343
343
public void emissionRequestRace2 () {
344
- Worker w = Schedulers .computation ().createWorker ();
345
- Worker w2 = Schedulers .computation ().createWorker ();
344
+ Worker w = Schedulers .io ().createWorker ();
345
+ Worker w2 = Schedulers .io ().createWorker ();
346
346
try {
347
347
for (int i = 0 ; i < 10000 ; i ++) {
348
348
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ public void testMpscLinkedAtomicQueueOfferPoll() {
132
132
testOfferPoll (q );
133
133
}
134
134
135
- @ Test (timeout = 2000 )
135
+ @ Test (timeout = 20000 )
136
136
public void testMpscLinkedAtomicQueuePipelined () throws InterruptedException {
137
137
final MpscLinkedAtomicQueue <Integer > q = new MpscLinkedAtomicQueue <Integer >();
138
138
@@ -202,7 +202,7 @@ public void testMpscLinkedQueueOfferPoll() {
202
202
203
203
testOfferPoll (q );
204
204
}
205
- @ Test (timeout = 2000 )
205
+ @ Test (timeout = 20000 )
206
206
public void testMpscLinkedQueuePipelined () throws InterruptedException {
207
207
if (!UnsafeAccess .isUnsafeAvailable ()) {
208
208
return ;
@@ -356,7 +356,7 @@ public void testSpscLinkedAtomicQueueOfferPoll() {
356
356
testOfferPoll (q );
357
357
}
358
358
359
- @ Test (timeout = 2000 )
359
+ @ Test (timeout = 20000 )
360
360
public void testSpscLinkedAtomicQueuePipelined () throws InterruptedException {
361
361
final SpscLinkedAtomicQueue <Integer > q = new SpscLinkedAtomicQueue <Integer >();
362
362
final AtomicInteger count = new AtomicInteger ();
@@ -411,7 +411,7 @@ public void testSpscLinkedQueueOfferPoll() {
411
411
testOfferPoll (q );
412
412
}
413
413
414
- @ Test (timeout = 2000 )
414
+ @ Test (timeout = 20000 )
415
415
public void testSpscLinkedQueuePipelined () throws InterruptedException {
416
416
if (!UnsafeAccess .isUnsafeAvailable ()) {
417
417
return ;
You can’t perform that action at this time.
0 commit comments