Skip to content

Commit

Permalink
Fix test assertion according to latest init script
Browse files Browse the repository at this point in the history
  • Loading branch information
alextu committed Dec 11, 2024
1 parent aadff1d commit 5826749
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -941,9 +941,9 @@ class BuildScanInjectionGradleIntegrationTest extends BaseGradleIntegrationTest
then:
def log = JenkinsRule.getLog(secondRun)
assert quiet == !log.contains('Develocity plugins resolution: https://plugins.gradle.org/m2')
assert quiet == !log.contains('Applying com.gradle.develocity.agent.gradle.DevelocityPlugin via init script')
assert quiet == !log.contains('Connection to Develocity: http://foo.com, allowUntrustedServer: false')
assert quiet == !log.contains('Applying com.gradle.CommonCustomUserDataGradlePlugin via init script')
assert quiet == !(log =~ /Applying com.gradle.develocity.agent.gradle.DevelocityPlugin with version (.*) via init script/)
assert quiet == !log.contains('Connection to Develocity: http://foo.com, allowUntrustedServer: false, captureFileFingerprints: true')
assert quiet == !(log =~ /Applying com.gradle.CommonCustomUserDataGradlePlugin with version (.*) via init script/)

where:
quiet << [true, false]
Expand Down

0 comments on commit 5826749

Please sign in to comment.