@@ -218,9 +218,6 @@ public void testToString_allUnique() throws Exception {
218
218
}
219
219
220
220
public void testToString_oom () throws Exception {
221
- if (isWindows ()) {
222
- return ; // TODO: b/136041958 - Some tests in this file are slow, but I'm not sure which.
223
- }
224
221
SettableFuture <Object > future = SettableFuture .create ();
225
222
future .set (
226
223
new Object () {
@@ -300,9 +297,6 @@ public String pendingToString() {
300
297
@ SuppressWarnings ({"DeprecatedThreadMethods" , "ThreadPriorityCheck" })
301
298
@ AndroidIncompatible // Thread.suspend
302
299
public void testToString_delayedTimeout () throws Exception {
303
- if (isWindows ()) {
304
- return ; // TODO: b/136041958 - Some tests in this file are slow, but I'm not sure which.
305
- }
306
300
Integer javaVersion = Ints .tryParse (JAVA_SPECIFICATION_VERSION .value ());
307
301
// Parsing to an integer might fail because Java 8 returns "1.8" instead of "8."
308
302
// We can continue if it's 1.8, and we can continue if it's an integer in [9, 20).
@@ -392,9 +386,6 @@ public String pendingToString() {
392
386
}
393
387
394
388
public void testCompletionFinishesWithDone () {
395
- if (isWindows ()) {
396
- return ; // TODO: b/136041958 - Some tests in this file are slow, but I'm not sure which.
397
- }
398
389
ExecutorService executor = Executors .newFixedThreadPool (10 );
399
390
for (int i = 0 ; i < 50000 ; i ++) {
400
391
final AbstractFuture <String > future = new AbstractFuture <String >() {};
@@ -447,7 +438,7 @@ public void run() {
447
438
448
439
public void testFutureBash () {
449
440
if (isWindows ()) {
450
- return ; // TODO: b/136041958 - Some tests in this file are slow, but I'm not sure which .
441
+ return ; // TODO: b/136041958 - Running very slowly on Windows CI .
451
442
}
452
443
final CyclicBarrier barrier =
453
444
new CyclicBarrier (
@@ -631,7 +622,7 @@ public void run() {
631
622
// setFuture and cancel() interact in more complicated ways than the other setters.
632
623
public void testSetFutureCancelBash () {
633
624
if (isWindows ()) {
634
- return ; // TODO: b/136041958 - Some tests in this file are slow, but I'm not sure which .
625
+ return ; // TODO: b/136041958 - Running very slowly on Windows CI .
635
626
}
636
627
final int size = 50 ;
637
628
final CyclicBarrier barrier =
@@ -768,9 +759,6 @@ public void run() {
768
759
// Test to ensure that when calling setFuture with a done future only setFuture or cancel can
769
760
// return true.
770
761
public void testSetFutureCancelBash_withDoneFuture () {
771
- if (isWindows ()) {
772
- return ; // TODO: b/136041958 - Some tests in this file are slow, but I'm not sure which.
773
- }
774
762
final CyclicBarrier barrier =
775
763
new CyclicBarrier (
776
764
2 // for the setter threads
@@ -854,9 +842,6 @@ public void run() {
854
842
// In a previous implementation this would cause a stack overflow after ~2000 futures chained
855
843
// together. Now it should only be limited by available memory (and time)
856
844
public void testSetFuture_stackOverflow () {
857
- if (isWindows ()) {
858
- return ; // TODO: b/136041958 - Some tests in this file are slow, but I'm not sure which.
859
- }
860
845
SettableFuture <String > orig = SettableFuture .create ();
861
846
SettableFuture <String > prev = orig ;
862
847
for (int i = 0 ; i < 100000 ; i ++) {
@@ -874,9 +859,6 @@ public void testSetFuture_stackOverflow() {
874
859
@ GwtIncompatible
875
860
@ AndroidIncompatible
876
861
public void testSetFutureToString_stackOverflow () {
877
- if (isWindows ()) {
878
- return ; // TODO: b/136041958 - Some tests in this file are slow, but I'm not sure which.
879
- }
880
862
SettableFuture <String > orig = SettableFuture .create ();
881
863
SettableFuture <String > prev = orig ;
882
864
for (int i = 0 ; i < 100000 ; i ++) {
0 commit comments