8129759: Mark two tests from DistinctOpTest.java and SliceOpTest.java as serialization hostile
Reviewed-by: psandoz
This commit is contained in:
parent
84ebc260b9
commit
512986a71c
@ -171,7 +171,7 @@ public class DistinctOpTest extends OpTestCase {
|
||||
assertSorted(result);
|
||||
}
|
||||
|
||||
@Test
|
||||
@Test(groups = { "serialization-hostile" })
|
||||
public void testStable() {
|
||||
// Create N instances of Integer all with the same value
|
||||
List<Integer> input = IntStream.rangeClosed(0, 1000)
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -190,6 +190,7 @@ public class SliceOpTest extends OpTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
@Test(groups = { "serialization-hostile" })
|
||||
public void testSkipLimitOpsWithNonSplittingSpliterator() {
|
||||
class NonSplittingNotSubsizedOrderedSpliterator<T> implements Spliterator<T> {
|
||||
Spliterator<T> s;
|
||||
|
Loading…
Reference in New Issue
Block a user