From 9ce9f1ea0fd19209fd543a0650a20b469000001d Mon Sep 17 00:00:00 2001 From: Hossein Date: Fri, 19 Jun 2015 13:15:12 -0700 Subject: [PATCH] Added basic tests to verify methods can be called and won't throw errors --- R/pkg/inst/tests/test_context.R | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/R/pkg/inst/tests/test_context.R b/R/pkg/inst/tests/test_context.R index e4aab37436a74..513bbc8e62059 100644 --- a/R/pkg/inst/tests/test_context.R +++ b/R/pkg/inst/tests/test_context.R @@ -48,3 +48,10 @@ test_that("rdd GC across sparkR.stop", { count(rdd3) count(rdd4) }) + +test_that("job group functions can be called", { + sc <- sparkR.init() + setJobGroup(sc, "groupId", "job description", TRUE) + cancelJobGroup(sc, "groupId") + clearJobGroup(sc) +})