[ 
https://issues.apache.org/jira/browse/SCM-981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17541141#comment-17541141
 ] 

ASF GitHub Bot commented on SCM-981:
------------------------------------

michael-o commented on PR #140:
URL: https://github.com/apache/maven-scm/pull/140#issuecomment-1135081659

   Working on this...
   ```
   [INFO]
   [ERROR] Failures:
   [ERROR]   
HgDiffCommandTckTest.testDiffCommand:86->ScmTckTestCase.addToWorkingTree:218 
Expected 1 file in the added files list [] expected:<1> but was:<0>
   [ERROR]   
HgStatusCommandTckTest>StatusCommandTckTest.testStatusCommand:107->ScmTckTestCase.addToWorkingTree:218
 Expected 1 file in the added files list [] expected:<1> but was:<0>
   [ERROR]   
HgUpdateCommandTckTest>UpdateCommandTckTest.testUpdateCommand:119->ScmTckTestCase.addToWorkingTree:218
 Expected 1 file in the added files list [] expected:<1> but was:<0>
   [INFO]
   [ERROR] Tests run: 17, Failures: 3, Errors: 0, Skipped: 0
   ```
   
   with
   ```
   $ hg --version
   Mercurial Distributed SCM (version 6.1.1)
   (see https://mercurial-scm.org for more information)
   
   Copyright (C) 2005-2022 Olivia Mackall and others
   This is free software; see the source for copying conditions. There is NO
   warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   ```
   on
   ```
   warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   mosipov@bsd1srv:/usr/home/mosipov/var/Projekte/maven-scm (SCM-981 =)
   $ mvn -v
   Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
   Maven home: /usr/local/apache-maven-3.6.3
   Java version: 1.8.0_332, vendor: OpenJDK BSD Porting Team, runtime: 
/usr/local/openjdk8/jre
   Default locale: de_DE, platform encoding: UTF-8
   OS name: "freebsd", version: "12.3-stable", arch: "amd64", family: "unix"
   ```




> Several integration tests are never run and fail if you do
> ----------------------------------------------------------
>
>                 Key: SCM-981
>                 URL: https://issues.apache.org/jira/browse/SCM-981
>             Project: Maven SCM
>          Issue Type: Bug
>            Reporter: Niels Basjes
>            Assignee: Michael Osipov
>            Priority: Major
>             Fix For: 2.0.0-M2
>
>
> The README.md states
> {quote}Run all the tests with `mvn -Prun-its verify` to assure nothing else 
> was accidentally broken.
> {quote}
> The Github actions reuses for the CI build
> {code:java}
> apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v2{code}
> which does the same
> {code:java}
> ./mvnw --errors --batch-mode --show-version -D"invoker.streamLogsOnFailures" 
> -P run-its verify{code}
> [https://github.com/apache/maven-gh-actions-shared/blob/v2/.github/workflows/maven-verify.yml#L167]
> [https://github.com/apache/maven-gh-actions-shared/blob/v2/.github/workflows/maven-verify.yml#L93]
> The snag is that this profile does not exist in this project.
> I asked this and was told to use the `tck-git` profile
> [https://github.com/apache/maven-scm/pull/134#issuecomment-1130214768]
> I found that there is also a `tck-svn` profile and a `tck` profile.
> When I run `mvn clean verify -Ptck` there are several tests that fail and are 
> apparently never run by anyone.
>  
> Proposal: 
>  * Create a profile run-its that simply activates the appropriate tck 
> profiles.
>  * Fix the failing tests.
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to