Skip to content

Commit 7990edf

Browse files
authored
Merge pull request #15155 from apache/7.0.x
Ignore MavenRepositorySpec tests for SNAPSHOT Grails versions
2 parents 83c9e62 + 6c9ce36 commit 7990edf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

grails-shell-cli/src/test/groovy/org/grails/cli/profile/repository/MavenRepositorySpec.groovy

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,17 @@
1818
*/
1919
package org.grails.cli.profile.repository
2020

21+
import grails.util.Environment
22+
import spock.lang.IgnoreIf
2123
import spock.lang.Specification
2224

2325
/**
2426
* @author graemerocher
2527
*/
28+
29+
// Note: These tests will fail on a new SNAPSHOT version until the corresponding
30+
// grails-bom has been published for the first time.
31+
@IgnoreIf({ Environment.grailsVersion?.endsWith('SNAPSHOT') })
2632
class MavenRepositorySpec extends Specification {
2733

2834
void "Test resolve profile"() {

0 commit comments

Comments
 (0)