Skip to content

Commit

Permalink
ZEPPELIN-3535. Disable flaky test
Browse files Browse the repository at this point in the history
### What is this PR for?
This PR is trying to disable the flaky test of zeppelin that fails very frequently.

### What type of PR is it?
[Bug Fix | Improvement]

### Todos
* [ ] - Task

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

### How should this be tested?
* CI pass

### Screenshots (if appropriate)

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

Author: Jeff Zhang <zjffdu@apache.org>

Closes apache#3020 from zjffdu/ZEPPELIN-3535 and squashes the following commits:

216ade8 [Jeff Zhang] ZEPPELIN-3535. Disable flaky test
  • Loading branch information
zjffdu authored and mckartha committed Aug 9, 2018
1 parent 166b20c commit 1ae9a0c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ public void testDisableParagraphRunButton() throws Exception {
}
}

@Test
// @Test
public void testRunOnSelectionChange() throws Exception {
try {
String xpathToRunOnSelectionChangeCheckbox = getParagraphXPath(1) + "//ul/li/form/input[contains(@ng-checked, 'true')]";
Expand Down Expand Up @@ -480,7 +480,7 @@ public void testShowAndHideLineNumbers() throws Exception {
}
}

@Test
// @Test
public void testEditOnDoubleClick() throws Exception {
try {
createNewNote();
Expand Down Expand Up @@ -712,7 +712,7 @@ public void testNoteDynamicFormTextInput() throws Exception {
}
}

@Test
// @Test
public void testNoteDynamicFormSelect() throws Exception {
try {
createNewNote();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

import java.io.File;
import java.io.FileOutputStream;
Expand Down Expand Up @@ -68,7 +67,7 @@ private void delete(File file) {
}


@Test
// @Test
public void test() throws IOException, InterruptedException {
assertNull(fileChanged);
assertEquals(0, numChanged.get());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ErrorCollector;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
Expand Down Expand Up @@ -59,7 +58,7 @@ public static void destroy() throws Exception {
public void setUp() {
}

@Test
// @Test
public void testThatOtherUserCanAccessNoteIfPermissionNotSet() throws IOException {
GetMethod loginWithoutCookie = httpGet("/api/security/ticket");
Map result = gson.fromJson(loginWithoutCookie.getResponseBodyAsString(), Map.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ public void sparkRTest() throws IOException {
assertEquals("[1] 3", p.getResult().message().get(0).getData().trim());
}

@Test
// @Test
public void pySparkTest() throws IOException {
// create new note
Note note = ZeppelinServer.notebook.createNote(anonymous);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ private void terminateScheduledNote(Note note) {
}


@Test
// @Test
public void testAutoRestartInterpreterAfterSchedule() throws InterruptedException, IOException, InterpreterNotFoundException {
// create a note and a paragraph
Note note = notebook.createNote(anonymous);
Expand Down

0 comments on commit 1ae9a0c

Please sign in to comment.