Fix execution of tests using local-cluster

Description

Simple test

@RunWith(classOf[JUnitRunner])class Dmmy extends FunSuite with Matchers with BeforeAndAfter with SharedH2OTestContext { override def createSparkContext: SparkContext = new SparkContext( "local-cluster[3,1,1024]", this.getClass.getName, defaultSparkConf) test("Dummy") { print("Do nothing") }}

 

fails with:


  • What went wrong:
    Execution failed for task ':sparkling-water-core:integTest'.

Process 'Gradle Test Executor 2' finished with non-zero exit value 1
This problem might be caused by incorrect test process configuration.
Please refer to the test execution section in the User Manual at https://docs.gradle.org/5.6.4/userguide/java_testing.html#sec:test_execution


Note: it happens only in docker image, when running locally, the test is executed correctly

Assignee

Jakub Hava

Reporter

Jakub Hava

Labels

None

CustomerVisible

No

testcase 1

None

testcase 2

None

testcase 3

None

h2ostream link

None

Affected Spark version

None

AffectedContact

None

AffectedCustomers

None

AffectedPilots

None

AffectedOpenSource

None

Support Assessment

None

Customer Request Type

None

Support ticket URL

None

End date

None

Baseline start date

None

Baseline end date

None

Task progress

None

Task mode

None

ReleaseNotesHidden

None

Fix versions

Priority

Major
Configure