This is an automated email from the ASF dual-hosted git repository. stoty pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/phoenix.git
The following commit(s) were added to refs/heads/master by this push: new f246599041 PHOENIX-6784 PhantomJS fails on recent Linux distributions f246599041 is described below commit f246599041343c02cc98341dd85122c8da85d33c Author: Istvan Toth <st...@apache.org> AuthorDate: Mon Oct 24 10:04:32 2022 +0200 PHOENIX-6784 PhantomJS fails on recent Linux distributions --- phoenix-tracing-webapp/pom.xml | 92 +++++++++++++++++++++++++----------------- 1 file changed, 55 insertions(+), 37 deletions(-) diff --git a/phoenix-tracing-webapp/pom.xml b/phoenix-tracing-webapp/pom.xml index 60ad337e73..e2e057b676 100755 --- a/phoenix-tracing-webapp/pom.xml +++ b/phoenix-tracing-webapp/pom.xml @@ -137,42 +137,6 @@ </execution> </executions> </plugin> - <plugin> - <groupId>com.github.searls</groupId> - <artifactId>jasmine-maven-plugin</artifactId> - <executions> - <execution> - <goals> - <goal>test</goal> - </goals> - </execution> - </executions> - <configuration> - <phantomjs> - <version>2.1.1</version> - </phantomjs> - <!--browserVersion>FIREFOX_16</browserVersion--> - <preloadSources combine.children="append"> - <source>${project.basedir}/src/main/webapp/js/lib/jquery.min.js</source> - <source>${project.basedir}/src/main/webapp/js/lib/angular.js</source> - <source>${project.basedir}/src/main/webapp/js/lib/angular-route.js</source> - <source>${project.basedir}/src/main/webapp/js/lib/angular-mocks.js</source> - <source>${project.basedir}/src/main/webapp/js/lib/ng-google-chart.js</source> - <source>${project.basedir}/src/main/webapp/js/lib/bootstrap.js</source> - <source>${project.basedir}/src/main/webapp/js/lib/ui-bootstrap-tpls.js</source> - <source>${project.basedir}/src/main/webapp/js/controllers/accordion-controllers.js</source> - <source>${project.basedir}/src/main/webapp/js/controllers/timeline-controllers.js</source> - <source>${project.basedir}/src/main/webapp/js/controllers/search-controllers.js</source> - <source>${project.basedir}/src/main/webapp/js/controllers/dependency-tree-controllers.js</source> - <source>${project.basedir}/src/main/webapp/js/app.js</source> - <source>${project.basedir}/src/main/webapp/js/controllers/list-controllers.js</source> - <source>${project.basedir}/src/main/webapp/js/controllers/trace-count-controllers.js</source> - <source>${project.basedir}/src/main/webapp/js/controllers/trace-distribution-controllers.js</source> - </preloadSources> - <!--jsSrcDir>${basedir}/src/main/webapp/js/controllers</jsSrcDir--> - <jsTestSrcDir>${basedir}/src/test/webapp/js/specs</jsTestSrcDir> - </configuration> - </plugin> <plugin> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> @@ -186,5 +150,59 @@ </plugin> </plugins> </build> - + <profiles> + <profile> + <!-- These tests fail with recent SSL libraries. See PHOENIX-6784. + You need to be using an older Linux distro, or use the + export OPENSSL_CONF=/dev/null + workaround to run these tests + --> + <id>jasmin-tests</id> + <activation> + <property> + <name>jasmine-tests</name> + </property> + </activation> + <build> + <plugins> + <plugin> + <groupId>com.github.searls</groupId> + <artifactId>jasmine-maven-plugin</artifactId> + <executions> + <execution> + <goals> + <goal>test</goal> + </goals> + </execution> + </executions> + <configuration> + <phantomjs> + <version>2.1.1</version> + </phantomjs> + <!--browserVersion>FIREFOX_16</browserVersion--> + <preloadSources combine.children="append"> + <source>${project.basedir}/src/main/webapp/js/lib/jquery.min.js</source> + <source>${project.basedir}/src/main/webapp/js/lib/angular.js</source> + <source>${project.basedir}/src/main/webapp/js/lib/angular-route.js</source> + <source>${project.basedir}/src/main/webapp/js/lib/angular-mocks.js</source> + <source>${project.basedir}/src/main/webapp/js/lib/ng-google-chart.js</source> + <source>${project.basedir}/src/main/webapp/js/lib/bootstrap.js</source> + <source>${project.basedir}/src/main/webapp/js/lib/ui-bootstrap-tpls.js</source> + <source>${project.basedir}/src/main/webapp/js/controllers/accordion-controllers.js</source> + <source>${project.basedir}/src/main/webapp/js/controllers/timeline-controllers.js</source> + <source>${project.basedir}/src/main/webapp/js/controllers/search-controllers.js</source> + <source>${project.basedir}/src/main/webapp/js/controllers/dependency-tree-controllers.js</source> + <source>${project.basedir}/src/main/webapp/js/app.js</source> + <source>${project.basedir}/src/main/webapp/js/controllers/list-controllers.js</source> + <source>${project.basedir}/src/main/webapp/js/controllers/trace-count-controllers.js</source> + <source>${project.basedir}/src/main/webapp/js/controllers/trace-distribution-controllers.js</source> + </preloadSources> + <!--jsSrcDir>${basedir}/src/main/webapp/js/controllers</jsSrcDir--> + <jsTestSrcDir>${basedir}/src/test/webapp/js/specs</jsTestSrcDir> + </configuration> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project>