[Git][clojure-team/puppetlabs-http-client-clojure][debian/main] 2 commits: Fix out-of-memory error in autopkgtests

Jérôme Charaoui (@lavamind) gitlab at salsa.debian.org
Tue Jul 12 16:59:28 BST 2022



Jérôme Charaoui pushed to branch debian/main at Debian Clojure Maintainers / puppetlabs-http-client-clojure


Commits:
5ed2fbbf by Jérôme Charaoui at 2022-07-12T11:48:38-04:00
Fix out-of-memory error in autopkgtests

On the armel debci worker, and locally with a qemu VM with only 1g of
RAM, the tests will fail with an oom during one of the tests. This
appears to be sufficient to fix the tests locally.

- - - - -
86a9e8ef by Jérôme Charaoui at 2022-07-12T11:52:06-04:00
Update d/changelog for 1.2.0-6 release

- - - - -


3 changed files:

- debian/changelog
- debian/tests/control
- debian/tests/unittests


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+puppetlabs-http-client-clojure (1.2.0-6) unstable; urgency=medium
+
+  * Team upload.
+  * Fix out-of-memory error in autopkgtests
+
+ -- Jérôme Charaoui <jerome at riseup.net>  Tue, 12 Jul 2022 11:50:09 -0400
+
 puppetlabs-http-client-clojure (1.2.0-5) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/tests/control
=====================================
@@ -13,3 +13,4 @@ Depends: @,
          libpuppetlabs-ring-middleware-clojure (>= 1.3.0),
          libbcpkix-java,
          openssl
+Restrictions: allow-stderr


=====================================
debian/tests/unittests
=====================================
@@ -12,6 +12,10 @@ mkdir target
 # generate test certificates
 ./dev-resources/gen-pki.sh 2>/dev/null
 
+# fix for "java.lang.OutOfMemoryError: Java heap space" error
+# during test: java-existing-streaming-with-large-payload-without-decompression
+export _JAVA_OPTIONS="-Xmx512M"
+
 clojure \
     -cp $CLASSPATH \
     -e "(require '[clojure.test])" \



View it on GitLab: https://salsa.debian.org/clojure-team/puppetlabs-http-client-clojure/-/compare/15266537f9d695bab5080cc59aeea4397b4e247d...86a9e8efee455feb5b72b27e4eaeae7e1d31864d

-- 
View it on GitLab: https://salsa.debian.org/clojure-team/puppetlabs-http-client-clojure/-/compare/15266537f9d695bab5080cc59aeea4397b4e247d...86a9e8efee455feb5b72b27e4eaeae7e1d31864d
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20220712/12a94a7c/attachment.htm>


More information about the pkg-java-commits mailing list