File: omitting_tests_requiring_network.patch

package info (click to toggle)
libmjson-java 1.4.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 468 kB
  • sloc: java: 2,393; xml: 158; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 655 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: skipping the tests in TestJsonSchemaSuite, as they rely on files
 that have to be reached through the network
Author: Pierre Gruet <pgt@debian.org>
Forwarded: not-needed
Last-Update: 2022-10-31

--- a/pom.xml
+++ b/pom.xml
@@ -132,6 +132,9 @@
         <artifactId>maven-surefire-plugin</artifactId>
         <version>2.17</version>
         <configuration>
+          <excludes>
+            <exclude>**/TestJsonSchemaSuite</exclude><!-- relies on files to reach through the network -->
+          </excludes>
           <testSourceDirectory>src/test/java</testSourceDirectory>
           <testResources>
             <testResource>