You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Patrick D. Hunt (Jira)" <ji...@apache.org> on 2022/01/21 17:24:00 UTC

[jira] (ZOOKEEPER-4446) branch-3.6 txnLogCountTest use wrong version of Junit Assert import

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-4446 ]


    Patrick D. Hunt deleted comment on ZOOKEEPER-4446:
    --------------------------------------------

was (Author: JIRAUSER283970):
When designing a website it’s important to consider both the site’s appearance and functionality. Integrating these elements will maximize the site’s overall usability and performance. A web designer works on the appearance, layout, and, in some cases, content of a website. Appearance, for instance, relates to the colors, font, and images used. [Web design dubai|https://www.go-gulf.ae/ecommerce-web-design-dubai.php] company is quite experienced in handling ecommerce solutions

> branch-3.6 txnLogCountTest use wrong version of Junit Assert import
> -------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-4446
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4446
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 3.6.4
>            Reporter: Phang Khar Yeow
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 3.6.4
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The issue is due to [https://github.com/apache/zookeeper/blob/branch-3.6/zookeeper-server/src/test/java/org/apache/zookeeper/server/TxnLogCountTest.java]
> {code:java}
> import static org.junit.jupiter.api.Assertions.assertEquals; {code}
> Cause the compilation error, since Junit 4 still in used.
> {code:java}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile (default-testCompile) on project zookeeper: Compilation failure: Compilation failure: 
>   
>   
>     
>     [ERROR] /home/runner/work/zookeeper/zookeeper/zookeeper-server/src/test/java/org/apache/zookeeper/server/TxnLogCountTest.java:[21,36] package org.junit.jupiter.api does not exist
>   
>   
>     
>     [ERROR] /home/runner/work/zookeeper/zookeeper/zookeeper-server/src/test/java/org/apache/zookeeper/server/TxnLogCountTest.java:[21,1] static import only from classes and interfaces
>   
>   
>     
>     [ERROR] /home/runner/work/zookeeper/zookeeper/zookeeper-server/src/test/java/org/apache/zookeeper/server/TxnLogCountTest.java:[49,9] cannot find symbol
>   
>   
>     
>     [ERROR]   symbol:   method assertEquals(int,int)
>   
>   
>     
>     [ERROR]   location: class org.apache.zookeeper.server.TxnLogCountTest
>   
>   
>     
>     [ERROR] /home/runner/work/zookeeper/zookeeper/zookeeper-server/src/test/java/org/apache/zookeeper/server/TxnLogCountTest.java:[52,9] cannot find symbol
>   
>   
>     
>     [ERROR]   symbol:   method assertEquals(int,int)
>   
>   
>     
>     [ERROR]   location: class org.apache.zookeeper.server.TxnLogCountTest
>   
>   
>     
>     [ERROR] -> [Help 1] {code}
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)