Skip to content

Commit c37a948

Browse files
authored
Closes linkedin#9. Gradle to pass relevant system properties into the dynamometer-infra test task. (PR linkedin#12)
1 parent 272dc66 commit c37a948

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

dynamometer-infra/build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,11 @@ dependencies {
1717
testCompile 'junit:junit:4.11'
1818
testCompile 'org.mockito:mockito-all:1.10.19'
1919
}
20+
21+
test {
22+
[ "dyno.apache-mirror", "dyno.hadoop.bin.path", "dyno.hadoop.bin.version" ].each {
23+
if (System.getProperty(it) != null) {
24+
systemProperty it, System.getProperty(it)
25+
}
26+
}
27+
}

0 commit comments

Comments
 (0)