Skip to content

Conversation

@hammertank
Copy link

What is this PR for?

Fix CI build failure on branch-0.6.

What type of PR is it?

Hot Fix

Todos

What is the Jira issue?

No related Jira issue

How should this be tested?

See if CI becomes green

Questions:

  • Does the licenses files need update? No
  • Is there breaking changes for older versions? No
  • Does this needs documentation? No

Leemoonsoo and others added 3 commits April 24, 2017 09:38
### What is this PR for?
This PR fix flaky test [ZEPPELIN-1455](https://issues.apache.org/jira/browse/ZEPPELIN-1455).

According to http://doc.scalatest.org/1.8/org/scalatest/concurrent/Eventually.html, default timeout of eventually is 150millisecond. Set enough timeout for the test.

### What type of PR is it?
Hot Fix

### Todos
* [x] - increase timeout

### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-1455

### Questions:
* Does the licenses files need update? no
* Is there breaking changes for older versions? no
* Does this needs documentation? no

Author: Lee moon soo <moon@apache.org>

Closes apache#1920 from Leemoonsoo/ZEPPELIN-1455 and squashes the following commits:

13a993d [Lee moon soo] Increase tolerance of eventually

(cherry picked from commit 99c21c4)
### What is this PR for?
`IMain.interpret` changes current thread's context classloader. It may cause different issues and definitely is the reason of [ZEPPELIN-1738](https://issues.apache.org/jira/browse/ZEPPELIN-1738) test failures.

It's a known scala bug. See https://issues.scala-lang.org/browse/SI-9587

As a workaround we need to save and restore context classloader manually

### What type of PR is it?
Bug Fix

### What is the Jira issue?
[ZEPPELIN-1972](https://issues.apache.org/jira/browse/ZEPPELIN-1972)

### How should this be tested?
Run ignite interpreter test and ignite sql interpreter test in the same thread
```
mvn test -pl ignite -am -Pscala-2.11 -Dtest=org.apache.zeppelin.ignite.IgniteInterpreterTest#testInterpret,org.apache.zeppelin.ignite.IgniteSqlInterpreterTest#testSql -DfailIfNoTests=false
```

### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No

Author: Igor Drozdov <igor_drozdov@epam.com>

Closes apache#1911 from DrIgor/ZEPPELIN-1972 and squashes the following commits:

35c5abd [Igor Drozdov] Preserve context classloader

(cherry picked from commit 859d175)
@hammertank
Copy link
Author

@Leemoonsoo I closed the old PR #2262 and created this one with commits' original author info. Is this OK?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants