Skip to content

Commit

Permalink
Enable classloader isolation in integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alexarchambault committed Jun 27, 2019
1 parent 33657e4 commit 2fd9eaf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Expand Up @@ -22,6 +22,7 @@ object BasicTests extends TestSuite{

def execWithJavaOptsSet(name: RelPath, home: Path) = %%bash(
executable,
"--thin",
"--no-remote-logging",
"-h",
home,
Expand All @@ -45,6 +46,7 @@ object BasicTests extends TestSuite{
write(scriptAddr, """println("Script Worked!!")""", createFolders = true)
val evaled = %%bash(
executable,
"--thin",
"-s",
scriptAddr,
// Somehow this is being set of travis and causing weird errors/warnings
Expand Down Expand Up @@ -92,6 +94,7 @@ object BasicTests extends TestSuite{
write(scriptAddr, """println("Worked!!")""")
val evaled = %% bash(
executable,
"--thin",
scriptAddr
)
assert(evaled.out.trim == "Worked!!" )
Expand All @@ -111,6 +114,7 @@ object BasicTests extends TestSuite{
// from ivy, and make use of `cd!` and `wd` inside the executed script.
val res = %%bash(
executable,
"--thin",
"--no-home-predef",
"--predef",
exampleBarePredef,
Expand Down Expand Up @@ -141,6 +145,7 @@ object BasicTests extends TestSuite{
if (!Util.windowsPlatform && !Util.java9OrAbove) {
%%bash(
executable,
"--thin",
"-c",
"""val loc = source.load(new String().substring(_: Int))
|val snip = Predef.augmentString(loc.fileContent)
Expand Down
Expand Up @@ -22,6 +22,7 @@ object TestUtils {
%%bash(
executable,
extraAmmArgs,
"--thin",
"--no-remote-logging",
"--home",
home,
Expand Down

0 comments on commit 2fd9eaf

Please sign in to comment.