Skip to content

Commit

Permalink
Added basic tests to verify methods can be called and won't throw errors
Browse files Browse the repository at this point in the history
  • Loading branch information
falaki committed Jun 19, 2015
1 parent c706af9 commit 9ce9f1e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions R/pkg/inst/tests/test_context.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})

0 comments on commit 9ce9f1e

Please sign in to comment.