Skip to content

Commit

Permalink
[TOREE-543] Fix and enable JVMReprSpec (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
pan3793 authored Aug 10, 2023
1 parent b717279 commit 4634772
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions scala-interpreter/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ import sbt.Tests.{Group, SubProcess}
* limitations under the License
*/

Test / fork := true
libraryDependencies ++= Dependencies.sparkAll.value
libraryDependencies += "com.github.jupyter" % "jvm-repr" % "0.1.0"
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ class ScalaInterpreter(private val config:Config = ConfigFactory.load) extends I
doQuietly {

bind(
"kernel", "org.apache.toree.kernel.api.Kernel",
"kernel", "org.apache.toree.kernel.api.KernelLike",
kernel, List( """@transient implicit""")
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,12 @@ import org.apache.toree.interpreter.Results.Success
import org.apache.toree.kernel.api.{DisplayMethodsLike, KernelLike}
import org.apache.toree.kernel.interpreter.scala.ScalaInterpreter
import org.mockito.Mockito.doReturn
import org.scalatest.{BeforeAndAfter, FunSpec, Ignore, Matchers}
import org.scalatest.{BeforeAndAfter, FunSpec, Matchers}
import org.scalatestplus.mockito.MockitoSugar

import scala.util.Random

@SbtForked
@Ignore
class JVMReprSpec extends FunSpec with Matchers with MockitoSugar with BeforeAndAfter {

private val outputResult = new ByteArrayOutputStream()
Expand Down

0 comments on commit 4634772

Please sign in to comment.