[pkg-java] r16382 - in trunk/plexus-cipher/debian: . patches
Tony Mancill
tmancill at alioth.debian.org
Sat Jan 12 20:31:00 UTC 2013
Author: tmancill
Date: 2013-01-12 20:31:00 +0000 (Sat, 12 Jan 2013)
New Revision: 16382
Added:
trunk/plexus-cipher/debian/patches/
trunk/plexus-cipher/debian/patches/0001_PBECipherTest.patch
trunk/plexus-cipher/debian/patches/series
Log:
add patch for #697919
Added: trunk/plexus-cipher/debian/patches/0001_PBECipherTest.patch
===================================================================
--- trunk/plexus-cipher/debian/patches/0001_PBECipherTest.patch (rev 0)
+++ trunk/plexus-cipher/debian/patches/0001_PBECipherTest.patch 2013-01-12 20:31:00 UTC (rev 16382)
@@ -0,0 +1,17 @@
+Description: force thread to sleep briefly to prevent build failures on
+ fast systems when 2 PBECipher encryptions begin during the same
+ millisecond.
+Author: Sjoerd Simons <sjoerd at debian.org>
+
+--- a/src/test/java/org/sonatype/plexus/components/cipher/PBECipherTest.java
++++ b/src/test/java/org/sonatype/plexus/components/cipher/PBECipherTest.java
+@@ -55,6 +55,8 @@
+
+ System.out.println(enc);
+
++ Thread.sleep (10);
++
+ String enc2 = _cipher.encrypt64( _cleatText, _password );
+
+ assertNotNull( enc2 );
+
Added: trunk/plexus-cipher/debian/patches/series
===================================================================
--- trunk/plexus-cipher/debian/patches/series (rev 0)
+++ trunk/plexus-cipher/debian/patches/series 2013-01-12 20:31:00 UTC (rev 16382)
@@ -0,0 +1 @@
+0001_PBECipherTest.patch
More information about the pkg-java-commits
mailing list