Skip to content

Commit 4ebc266

Browse files
committed
Switch python tests to run on Scala 2.11
1 parent aa74947 commit 4ebc266

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ lazy val sparkRiakConnector = (project in file("connector"))
8383
}.filter(_.contains("test-utils")).mkString(":")
8484
val uberJar = buildDir.relativize((assemblyOutputPath in assembly).value.toPath)
8585

86-
if(!scalaBinaryVersion.value.equals("2.11")) {
86+
if(scalaBinaryVersion.value.equals("2.11")) {
8787
val rtnCode = s"connector/python/test.sh $uberJar:$cp $pyTestMark" ! streams.value.log
8888
//val rtnCode = s"docker build -t $namespace ." #&& s"docker run --rm -i -e RIAK_HOSTS=$riakHosts -e SPARK_CLASSPATH=$uberJar:$cp -v ${buildDir.toString}:/usr/src/$namespace -v ${home.toString}/.ivy2:/root/.ivy2 -v /var/run/docker.sock:/var/run/docker.sock -v /usr/bin/docker:/bin/docker -w /usr/src/$namespace $namespace ./connector/python/test.sh" ! streams.value.log
8989
if (rtnCode != 0) {

0 commit comments

Comments
 (0)