Skip to content

[ZEPPELIN-2155] [HOTFIX] Flaky test: NotebookTest#2081

Closed
Leemoonsoo wants to merge 4 commits intoapache:masterfrom
Leemoonsoo:ZEPPELIN-2155
Closed

[ZEPPELIN-2155] [HOTFIX] Flaky test: NotebookTest#2081
Leemoonsoo wants to merge 4 commits intoapache:masterfrom
Leemoonsoo:ZEPPELIN-2155

Conversation

@Leemoonsoo
Copy link
Copy Markdown
Member

What is this PR for?

This PR fixes test failure described in ZEPPELIN-2155.
All the PR test fails with this problem at the moment.

Problem came from #2049, which fixes wrong authentication configuration for the test. And previously test were written for wrong configuration.

This PR fixes wrong test and remove some assert statement that may occur flaky test but don't really verify anything.

What type of PR is it?

Hot Fix

Todos

  • - fix problem

What is the Jira issue?

How should this be tested?

CI green

Questions:

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

@Leemoonsoo
Copy link
Copy Markdown
Member Author

Leemoonsoo commented Mar 1, 2017

Test passed https://travis-ci.org/Leemoonsoo/zeppelin/builds/206156551
PR build status is yellow, because ASF Jenkins is unusually busy today.
Considering Jenkins job queue length, it'll take a day to build status become green.

So without waiting Jenkins, i'll merge this PR to master and branch-0.7 as a hotfix.

@Leemoonsoo Leemoonsoo closed this Mar 1, 2017
@Leemoonsoo Leemoonsoo reopened this Mar 1, 2017
@asfgit asfgit closed this in 336df56 Mar 1, 2017
asfgit pushed a commit that referenced this pull request Mar 1, 2017
This PR fixes test failure described in ZEPPELIN-2155.
All the PR test fails with this problem at the moment.

Problem came from #2049, which fixes wrong authentication configuration for the test. And previously test were written for wrong configuration.

This PR fixes wrong test and remove some assert statement that may occur flaky test but don't really verify anything.

Hot Fix

* [x] - fix problem

CI green

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

Author: Lee moon soo <[email protected]>

Closes #2081 from Leemoonsoo/ZEPPELIN-2155 and squashes the following commits:

0360108 [Lee moon soo] Correct test implementation with Authentication Enable
21d91ef [Lee moon soo] Handle multiple Set-Cookie headers
0ff3ff7 [Lee moon soo] Turn off Authentication on DirAccessTest because it is not necessary
52266a2 [Lee moon soo] Remove unnecessary assert

(cherry picked from commit 336df56)
Signed-off-by: Lee moon soo <[email protected]>
@prabhjyotsingh
Copy link
Copy Markdown
Contributor

prabhjyotsingh commented Mar 1, 2017

Thanks @Leemoonsoo for taking care of this, I also had similar (348ada5) solution.
Will revert my changes.

Remilito pushed a commit to Remilito/zeppelin that referenced this pull request Mar 3, 2017
### What is this PR for?
This PR fixes test failure described in ZEPPELIN-2155.
All the PR test fails with this problem at the moment.

Problem came from apache#2049, which fixes wrong authentication configuration for the test. And previously test were written for wrong configuration.

This PR fixes wrong test and remove some assert statement that may occur flaky test but don't really verify anything.

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

### Todos
* [x] - fix problem

### What is the Jira issue?

### How should this be tested?
CI green

### 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 <[email protected]>

Closes apache#2081 from Leemoonsoo/ZEPPELIN-2155 and squashes the following commits:

0360108 [Lee moon soo] Correct test implementation with Authentication Enable
21d91ef [Lee moon soo] Handle multiple Set-Cookie headers
0ff3ff7 [Lee moon soo] Turn off Authentication on DirAccessTest because it is not necessary
52266a2 [Lee moon soo] Remove unnecessary assert
asfgit pushed a commit that referenced this pull request Mar 15, 2017
### What is this PR for?
CI build is failing on `branch-0.7`. This PR cherry-pick some necessary commits from

#2003
#2081

and a commit (3ae8760) fixes changes made by #2071 for branch-0.7.

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

### Todos
* [ ] - Make CI green

### 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

Author: Lee moon soo <[email protected]>

Closes #2103 from Leemoonsoo/fix-branch-0.7-ci and squashes the following commits:

9539c9b [Lee moon soo] Try start and terminate spark context after each test class
f077980 [Lee moon soo] Correct test implementation with Authentication Enable
0eefb66 [Lee moon soo] Handle multiple Set-Cookie headers
8cfc5f9 [Lee moon soo] Remove unnecessary assert
d4a8807 [Lee moon soo] helium.bundle.js -> vis.bundle.js
9b6ec4a [Lee moon soo] create zeppelin-web/dist directory for test
129b40f [Lee moon soo] reduce build time
7d9489b [Lee moon soo] Reduce log
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.

2 participants