Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unnecessary throws exception from distributed runner test #688

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public static void createJmeterEnv() {
}

@Test
public void testSuccess() throws Exception {
public void testSuccess() {
createJmeterEnv();
JMeterUtils.setProperty(DistributedRunner.RETRIES_NUMBER, "1");
JMeterUtils.setProperty(DistributedRunner.CONTINUE_ON_FAIL, "false");
Expand All @@ -69,7 +69,7 @@ public void testSuccess() throws Exception {
}

@Test
public void testFailure1() throws Exception {
public void testFailure1() {
createJmeterEnv();
JMeterUtils.setProperty(DistributedRunner.RETRIES_NUMBER, "2");
JMeterUtils.setProperty(DistributedRunner.RETRIES_DELAY, "1");
Expand Down Expand Up @@ -101,7 +101,7 @@ private void initRunner(DistributedRunnerEmul runner, List<String> hosts) {
}

@Test
public void testFailure2() throws Exception {
public void testFailure2() {
createJmeterEnv();
JMeterUtils.setProperty(DistributedRunner.RETRIES_NUMBER, "1");
JMeterUtils.setProperty(DistributedRunner.RETRIES_DELAY, "1");
Expand All @@ -112,7 +112,7 @@ public void testFailure2() throws Exception {
}

@Test
public void testFailure3() throws Exception {
public void testFailure3() {
createJmeterEnv();
JMeterUtils.setProperty(DistributedRunner.RETRIES_NUMBER, "1");
JMeterUtils.setProperty(DistributedRunner.RETRIES_DELAY, "1");
Expand Down Expand Up @@ -154,7 +154,7 @@ public void configure(HashTree testPlan) {
}

@Override
public void runTest() throws JMeterEngineException {
public void runTest() {
log.debug("Running {}", host);
}

Expand Down Expand Up @@ -188,4 +188,4 @@ public void setHost(String host) {
this.host = host;
}
}
}
}
vlsi marked this conversation as resolved.
Show resolved Hide resolved