This is an automated email from the ASF dual-hosted git repository.
vladimirsitnikov 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 1eefce6a2d test: fix CompareAssertionTest flakiness
1eefce6a2d is described below
commit 1eefce6a2dc67ea6f2f00a8dde6d8946dd0b4ef9
Author: Vladimir Sitnikov <[email protected]>
AuthorDate: Wed Oct 29 12:35:56 2025 +0300
test: fix CompareAssertionTest flakiness
sampleEnd() caused System.currentTimeMillis(), thus it induces flaky
failures
---
.../src/test/kotlin/org/apache/jmeter/assertions/CompareAssertionTest.kt | 1 -
1 file changed, 1 deletion(-)
diff --git
a/src/components/src/test/kotlin/org/apache/jmeter/assertions/CompareAssertionTest.kt
b/src/components/src/test/kotlin/org/apache/jmeter/assertions/CompareAssertionTest.kt
index c33bac5fae..2d7e008c94 100644
---
a/src/components/src/test/kotlin/org/apache/jmeter/assertions/CompareAssertionTest.kt
+++
b/src/components/src/test/kotlin/org/apache/jmeter/assertions/CompareAssertionTest.kt
@@ -39,7 +39,6 @@ class CompareAssertionTest {
fun simpleResult(data: String, elapsed: Long) =
SampleResult(0, elapsed).apply {
setResponseData(data, Charsets.UTF_8.name())
- sampleEnd()
}
@JvmStatic