Permalink
Browse files

Mixup test for Config access instead of hadoop config

  • Loading branch information...
1 parent 5acc61a commit a4d2bc6ee1b8983525719a1d757f3d9f827a94d5 @ianoc ianoc committed Oct 20, 2015
@@ -55,9 +55,9 @@ class OptionsTest extends WordSpec {
val conf = new Configuration
val cfg = scalding.build.platform.buildConfig(conf)
- assert(cfg.get("com.twitter.chill.config.configuredinstantiator") != null)
- assert(cfg.get("summingbird.options") == scalding.build.platform.options.toString)
- assert(cfg.get("cascading.aggregateby.threshold") == "100000")
+ assert(cfg.get("com.twitter.chill.config.configuredinstantiator") != None)
+ assert(cfg.get("summingbird.options") == Some(scalding.build.platform.options.toString))
+ assert(cfg.get("cascading.aggregateby.threshold") == Some("100000"))
val opts = scalding.build.platform.options
val dependants = Dependants(scalding.build.toRun)

0 comments on commit a4d2bc6

Please sign in to comment.