File: skip_tests_visiting_security_sensitive_fields.patch

package info (click to toggle)
intervalstorej 1.2%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 2,004 kB
  • sloc: java: 4,354; xml: 44; makefile: 18; sh: 12
file content (41 lines) | stat: -rw-r--r-- 1,372 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Description: since JDK-8210522 issue, it is not possible anymore to access
 the fields of some security sensitive classes. See
 https://bugs.openjdk.org/browse/JDK-8210522
 The tests attempting to do so are thus deactivated.
Author: Pierre Gruet <pgt@debian.org>
Forwarded: no
Last-Update: 2022-11-04

--- a/test/intervalstore/impl/IntervalStoreTest.java
+++ b/test/intervalstore/impl/IntervalStoreTest.java
@@ -745,7 +745,7 @@
             "[20:30:desc, 25:35:desc]\n22:28:desc\n  24:26:desc\n22:28:desc\n");
   }
 
-  @Test(groups = "Functional")
+  @Test(enabled=false, groups = "Functional")
   public void testIsValid()
   {
     IntervalStore<Range> store = new IntervalStore<>();
--- a/test/intervalstore/impl/NCListTest.java
+++ b/test/intervalstore/impl/NCListTest.java
@@ -322,7 +322,7 @@
     assertTrue(ncl.contains(sf6));
   }
 
-  @Test(groups = "Functional")
+  @Test(enabled=false, groups = "Functional")
   public void testIsValid()
   {
     List<Range> ranges = new ArrayList<>();
--- a/test/intervalstore/impl/NCNodeTest.java
+++ b/test/intervalstore/impl/NCNodeTest.java
@@ -140,7 +140,7 @@
    * subregions (if any) lie within the root range, and that all subregions have
    * valid structure.
    */
-  @Test(groups = "Functional")
+  @Test(enabled=false, groups = "Functional")
   public void testIsValid()
   {
     Range r1 = new Range(10, 20);