Affects Version/s: None
Fix Version/s: 1.11
The test for
COMPRESS-210 is currently failing when Compress is built at Apache Gump.
It says that the last success was on 2015-10-06T00:00:09,
it started failing at 2015-10-06T12:00:09
and as of now the failure state is persistent for 22 runs (which means ~11 days).
Reviewing rhe code of the test class, its usage of `SimpleDateFormat DATE_FORMAT` field is wrong. The field is declared as "static". A SimpleDateFormat is not thread-safe, so it must not be shared between tests, as some testing configurations may run several tests in parallel.
A simple fix will be to remove "static" from declaration of that field and its initialization block, so that each running instance of the test gets its own copy of SimpleDateFormat class.
(I am not sure whether this bug is the actual cause of the test failure. I do not see any reconfigurations of test environment on 2015-10-06. Update: according to gump-general mailing list , on Oct 06 the Java runtime used to run Gump was updated to the latest Java 8 release)