Pierre Gruet pushed to branch master at Debian Med / libsis-jhdf5-java


Commits:
420323c7 by Pierre Gruet at 2020-10-16T22:37:08+02:00
Closing files properly in tests

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/closing_writer_in_tests.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -2,9 +2,10 @@ libsis-jhdf5-java (19.04.0+dfsg-3) unstable; urgency=medium
 
   * Activating build-time tests again
   * Deleting useless rm in override_dh_auto_clean
+  * Solving issues in tests due to misclosed files
   * Forwarding patches
 
- -- Pierre Gruet <[email protected]>  Mon, 21 Sep 2020 23:03:34 +0200
+ -- Pierre Gruet <[email protected]>  Fri, 16 Oct 2020 21:28:47 +0200
 
 libsis-jhdf5-java (19.04.0+dfsg-2) unstable; urgency=medium
 


=====================================
debian/patches/closing_writer_in_tests.patch
=====================================
@@ -0,0 +1,23 @@
+Description: properly closing files in two tests
+Author: Pierre Gruet <[email protected]>
+Forwarded: [email protected]
+Last-Update: 2020-10-16
+
+--- 
a/sourceTest/java/ch/systemsx/cisd/hdf5/io/HDF5DataSetRandomAccessFileTest.java
++++ 
b/sourceTest/java/ch/systemsx/cisd/hdf5/io/HDF5DataSetRandomAccessFileTest.java
+@@ -465,6 +465,7 @@
+         {
+             assertEquals(i, referenceArray[i], 
arrayRead[referenceArray.length + i]);
+         }
++        writer.close();
+         raFile.close();
+     }
+ 
+@@ -504,6 +505,7 @@
+         {
+             assertEquals(i, referenceArray[i], 
arrayRead[referenceArray.length + i]);
+         }
++        writer.close();
+         raFile.close();
+     }
+ 


=====================================
debian/patches/series
=====================================
@@ -5,3 +5,4 @@ using_h5util_definitions.patch
 loading_jni_in_java_file.patch
 declaring_final_variables.patch
 adapting_h5ar_script_to_debian.patch
+closing_writer_in_tests.patch



View it on GitLab: 
https://salsa.debian.org/med-team/libsis-jhdf5-java/-/commit/420323c73fe1422a516ed36cf7c3ba17a356bf69

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/libsis-jhdf5-java/-/commit/420323c73fe1422a516ed36cf7c3ba17a356bf69
You're receiving this email because of your account on salsa.debian.org.


_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to