Skip to content
Browse files

Adapt tests for JENKINS-23299 fix and git-client-plugin 1.10.2

Intentionally skip one test, enable another

Depend on git-client-plugin 1.10.2
  • Loading branch information
MarkEWaite committed Sep 13, 2014
1 parent 8add485 commit f654185b384a67b4e107f86d52b1ff2797c616d0
Showing with 12 additions and 8 deletions.
  1. +1 −1 pom.xml
  2. +11 −7 src/test/java/hudson/plugins/git/
@@ -252,7 +252,7 @@
@@ -60,12 +60,16 @@ public void testTags_with_TagBAnnotated() throws Exception {
if(SKIP_FAILING_TESTS) return; //TODO Fix productive code

/* Skip this test because git client 1.10.2 and later include a fix for
* JENKINS-23299. The fix resolves refs/tags/tag_name as the commit to
* which tag_name points. Prior to that change, the ref pointed to the
* SHA-1 of the tag, instead of the SHA-1 of the commit to which the tag
* points. Because of that bug fix, the git plugin correctly detects
* refs/tags/TagA as needing to build.
public void testTags_with_refsTagsTagBAnnotated() throws Exception
if(SKIP_FAILING_TESTS) return; //TODO Fix productive code
public void testTags_with_refsTagsTagA() throws Exception {


0 comments on commit f654185

Please sign in to comment.
You can’t perform that action at this time.