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-4445) branch-3.6 txnLogCountTest use wrong version of Junit Assert import
[ https://issues.apache.org/jira/browse/ZOOKEEPER-4445 ]
Patrick D. Hunt deleted comment on ZOOKEEPER-4445:
--------------------------------------------
was (Author: JIRAUSER283970):
A good web designer needs to have both creative graphic skills and technical skills. They need to be able to visualise how a site will look (the graphical design of the site) and how it will function (conversion of a design into a working website). Web design (page design) is the art and science of building the look, feel, and how a website and web page functions in a nutshell. A strong [Web design Bahrain|https://www.go-globe.com/bahrain.php] company is providing high end services which can provide you the desired assistance.
> branch-3.6 txnLogCountTest use wrong version of Junit Assert import
> -------------------------------------------------------------------
>
> Key: ZOOKEEPER-4445
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4445
> Project: ZooKeeper
> Issue Type: Bug
> Components: server
> Affects Versions: 3.6.4
> Reporter: Phang Khar Yeow
> Priority: Minor
> Fix For: 3.6.4
>
>
> 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)