Buggy code:
public class SampleResult implements Serializable { public static final String TEXT = "text" ; public static final String BINARY = "bin" ; private static final byte [ ] EMPTY_BA = new byte [ 0 ] ; private byte [ ] responseData ; private String responseCode ; private String label ; private String samplerData ; private String threadName ; private String responseMessage = "" ; private String responseHeaders = "" ; private String contentType ; private String requestHeaders = "" ; private long timeStamp = 0 ; private long startTime = 0 ; private long endTime = 0 ; private long idleTime = 0 ; private long pauseTime = 0 ; private List assertionResults ; private List subResults ; private String dataType ; private boolean success ; private Set files ; private String dataEncoding ; private long time = 0 ; private boolean stopThread = false ; private boolean stopTest = false ; private static final String TOTAL_TIME = "totalTime" ; private static transient Logger log = LoggingManager . getLoggerForClass ( ) ; public void setMarked ( String filename ) { } public boolean isMarked ( String filename ) { } public String getResponseCode ( ) { } public void setResponseCode ( String code ) { } public String getResponseMessage ( ) { } public void setResponseMessage ( String msg ) { } public String getThreadName ( ) { } public void setThreadName ( String threadName ) { } public long getTimeStamp ( ) { } public void setTimeStamp ( long timeStamp ) { } public String getSampleLabel ( ) { } public void setSampleLabel ( String label ) { } public void addAssertionResult ( AssertionResult assertResult ) { } public AssertionResult [ ] getAssertionResults ( ) { } public void addSubResult ( SampleResult subResult ) { } public SampleResult [ ] getSubResults ( ) { } public void configure ( Configuration info ) { } public void setTime ( long t ) { } public void setResponseData ( byte [ ] response ) { } public byte [ ] getResponseData ( ) { } public byte [ ] responseDataAsBA ( ) { } public void setSamplerData ( String s ) { } public String getSamplerData ( ) { } public long getTime ( ) { } public boolean isSuccessful ( ) { } public void setDataType ( String dataType ) { } public String getDataType ( ) { } public void setSuccessful ( boolean success ) { } public String toString ( ) { } public String getDataEncoding ( ) { } public void setDataEncoding ( String dataEncoding ) { } public boolean isStopTest ( ) { } public boolean isStopThread ( ) { } public void setStopTest ( boolean b ) { } public void setStopThread ( boolean b ) { } public String getRequestHeaders ( ) { } public String getResponseHeaders ( ) { } public void setRequestHeaders ( String string ) { } public void setResponseHeaders ( String string ) { } public String getContentType ( ) { } public void setContentType ( String string ) { } public void sampleStart ( ) { } public void sampleEnd ( ) { } public void samplePause ( ) { } public void sampleResume ( ) { } public static class Test extends TestCase { public Test ( String name ) { } public void testElapsed ( ) throws Exception { } public void testPause ( ) throws Exception { SampleResult res = new SampleResult ( ) ; res . sampleStart ( ) ; Thread . sleep ( 100 ) ; res . samplePause ( ) ; Thread . sleep ( 200 ) ; res . sampleResume ( ) ; Thread . sleep ( 100 ) ; res . sampleEnd ( ) ; assertTrue ( ( ( res . time ) >= 200 ) ) ; <START_BUG> assertFalse ( ( ( res . time ) >= 210 ) ) ; <END_BUG> } private static Formatter fmt = new RawFormatter ( ) ; private StringWriter wr = null ; public void divertLog ( ) { } public void testPause2 ( ) throws Exception { } } }

Fix:
assertFalse ( ( ( res . time ) >= 250 ) ) ;