This is an automated email from the ASF dual-hosted git repository.
fschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git
The following commit(s) were added to refs/heads/master by this push:
new 3773bbf Directly return result
3773bbf is described below
commit 3773bbfffc819a40acfc4e5390984493717dafeb
Author: Felix Schumacher <[email protected]>
AuthorDate: Sat Aug 3 14:50:18 2019 +0200
Directly return result
---
.../org/apache/jmeter/protocol/http/sampler/SamplingNamingTest.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
a/src/protocol/http/src/test/java/org/apache/jmeter/protocol/http/sampler/SamplingNamingTest.java
b/src/protocol/http/src/test/java/org/apache/jmeter/protocol/http/sampler/SamplingNamingTest.java
index bc11bc7..d01fefc 100644
---
a/src/protocol/http/src/test/java/org/apache/jmeter/protocol/http/sampler/SamplingNamingTest.java
+++
b/src/protocol/http/src/test/java/org/apache/jmeter/protocol/http/sampler/SamplingNamingTest.java
@@ -86,7 +86,6 @@ public class SamplingNamingTest extends JMeterTestCase
implements JMeterSerialTe
httpSamplerProxy.setEmbeddedUrlRE(JMETER_HOME_PAGE+".*");
SampleResult result = httpSamplerProxy.sample();
assertEquals("Expected sample label to be "+LABEL, LABEL,
result.getSampleLabel());
- SampleResult[] subResults = result.getSubResults();
- return subResults;
+ return result.getSubResults();
}
}