Skip to content
This repository has been archived by the owner on Jan 9, 2020. It is now read-only.

[INTEGRATION_TESTS] Latency before effective tests starts #572

Closed
echarles opened this issue Dec 10, 2017 · 5 comments
Closed

[INTEGRATION_TESTS] Latency before effective tests starts #572

echarles opened this issue Dec 10, 2017 · 5 comments

Comments

@echarles
Copy link
Member

On my env, once the minikube is launched, I have to wait some minutes before the first test method starts. 1 CPU is used during that time by maven of VBox.

Is this expected or do I have to fix something on my env?

...
Creating a generic function for ‘atan2’ from package ‘base’ in package ‘SparkR’
Creating a generic function for ‘ifelse’ from package ‘base’ in package ‘SparkR’
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
* DONE (SparkR)

==> Long time (+/-10 minutes, it depends)

- Run PySpark Job on file from SUBMITTER with --py-files
...
@ifilonenko
Copy link
Member

This is because you are building docker images with the new build of the spark distribution that the images are using. If you are merely modifying the integration tests you can go into the integration tests folder and comment out the docker build logic as you would just reuse existing images. The time to bring up the mini kube instance is also a bottle-neck. However we have a PR that is addressing this, by persisting the minkube

@echarles
Copy link
Member Author

Thx @ifilonenko

I guess you are referring to the SparkDockerImageBuilder scala class which should be commented.

Are you referring to the spark.docker.test.persistMinikube property which is already in the source? If not, can you point the PR you are mentioning to seep things on my side?

@ifilonenko
Copy link
Member

#521

@ifilonenko
Copy link
Member

Can this be closed?

@echarles
Copy link
Member Author

closed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants