[Bug 2007791] Review Request: rhino - JavaScript for Java

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=2007791



--- Comment #15 from Mikolaj Izdebski <mizdebsk@xxxxxxxxxx> ---
(In reply to Didik Supriadi from comment #14)
> > - running each test in a separate fork (forkCount=1, reuseForks=false
> > settings of surefire); many tests do not clean up contexts properly, this
> > makes the tests much more resilient at the expense of performance. See
> > comment in build.gradle line 84
> Hmm, I need your help. Failed to set reuseForks to false, here's the error:
> 
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test (default-test)
> on project rhino: Execution default-test of goal
> org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test failed:
> java.lang.reflect.InvocationTargetException:
> org/apache/commons/lang3/StringUtils: org.apache.commons.lang3.StringUtils
> -> [Help 1]

This is a downstream bug in maven-surefire package. I looked into fixing it,
but that won't be easy without bundling commons-lang3 and commons-io inside
surefire. However you can easily work around the bug by adding the following
deps to rhino:
%pom_add_dep org.apache.commons:commons-lang3:3.8.1:test %{name}
%pom_add_dep commons-io:commons-io:2.6:test %{name}

With these dependencies added and reuseForks=false all tests pass for me.
[WARNING] Tests run: 95328, Failures: 0, Errors: 0, Skipped: 2


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2007791
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux