Skip to content

Commit

Permalink
Making autotuning.enabled to true for running tuning related tests (l…
Browse files Browse the repository at this point in the history
…inkedin#501)

Squashed commit of the following:

  * Making autotuning.enabled to true for running tuning related tests (linkedin#501)
  * Update .travis.yml
  * Updating baseline for coverage
  * Using TRAVIS_BUILD_DIR for pso script path
  * Adding PSO_DIR_PATH as env variable in travis.yml for testing
  * Update AutoTuningConf.xml
  • Loading branch information
mkumar1984 authored and varunsaxena committed Jan 7, 2019
1 parent 440fa4e commit e147472
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,7 @@ script:
branches:
only:
- master

env:
- PSO_DIR_PATH=$TRAVIS_BUILD_DIR/scripts/pso/

12 changes: 6 additions & 6 deletions jacoco.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ import de.johoop.jacoco4sbt._
// Baselining coverage thresholds to current coverage values so that build fails with any drop in coverage
jacoco.settings ++ Seq(
jacoco.thresholds in jacoco.Config := Thresholds(
instruction = 51,
method = 50,
branch = 34,
complexity = 35,
line = 53,
clazz = 79)
instruction = 62,
method = 65,
branch = 41,
complexity = 47,
line = 62,
clazz = 81)
)

parallelExecution in jacoco.Config := false
Expand Down
4 changes: 2 additions & 2 deletions test/resources/AutoTuningConf.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<configuration>
<property>
<name>autotuning.enabled</name>
<value>false</value>
<value>true</value>
<description>Auto Tuning is enabled or not</description>
</property>
<property>
Expand Down Expand Up @@ -58,4 +58,4 @@
<!--<value>/path/to/python/binary</value>-->
<!--<description>Root directory for python</description>-->
<!--</property>-->
</configuration>
</configuration>

0 comments on commit e147472

Please sign in to comment.