You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2021/01/11 21:09:43 UTC

[myfaces-tobago] 11/11: integration-tests: use fixed version for docker container

This is an automated email from the ASF dual-hosted git repository.

bommel pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git

commit 5da93e94d55a56d7c50b4c5969b91ecfdffe71e3
Author: Henning Noeth <hn...@apache.org>
AuthorDate: Mon Jan 11 20:06:24 2021 +0100

    integration-tests: use fixed version for docker container
---
 tobago-example/tobago-example-demo/pom.xml                             | 2 +-
 .../apache/myfaces/tobago/example/demo/integration/FrontendBase.java   | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/tobago-example/tobago-example-demo/pom.xml b/tobago-example/tobago-example-demo/pom.xml
index 39cd2d4..8606d45 100644
--- a/tobago-example/tobago-example-demo/pom.xml
+++ b/tobago-example/tobago-example-demo/pom.xml
@@ -335,7 +335,7 @@
                     </ports>
                   </run>
                   <build>
-                    <from>tomcat</from>
+                    <from>tomcat:9.0.41-jdk11</from>
                     <tags>
                       <tag>${tobago.version}</tag>
                     </tags>
diff --git a/tobago-example/tobago-example-demo/src/test/java/org/apache/myfaces/tobago/example/demo/integration/FrontendBase.java b/tobago-example/tobago-example-demo/src/test/java/org/apache/myfaces/tobago/example/demo/integration/FrontendBase.java
index 696666b..319d8f0 100644
--- a/tobago-example/tobago-example-demo/src/test/java/org/apache/myfaces/tobago/example/demo/integration/FrontendBase.java
+++ b/tobago-example/tobago-example-demo/src/test/java/org/apache/myfaces/tobago/example/demo/integration/FrontendBase.java
@@ -65,7 +65,8 @@ abstract class FrontendBase {
 
   @Container
   private static final GenericContainer<?> SELENIUM_FIREFOX =
-      new GenericContainer<>(DockerImageName.parse("henningn/selenium-standalone-firefox"))
+      new GenericContainer<>(DockerImageName
+          .parse("henningn/selenium-standalone-firefox:4.0.0-beta-1-prerelease-20201208"))
           .withNetwork(NETWORK).withNetworkAliases(SELENIUM_ALIAS).withExposedPorts(SELENIUM_PORT)
           .waitingFor(Wait.forHttp("/").forPort(SELENIUM_PORT))
           .withLogConsumer(new Slf4jLogConsumer(LoggerFactory.getLogger(SELENIUM_ALIAS)).withSeparateOutputStreams());