File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
src/test/java/net/delirius/jmeter/backendlistener/elasticsearch Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 33 <modelVersion >4.0.0</modelVersion >
44 <groupId >net.delirius</groupId >
55 <artifactId >jmeter.backendlistener.elasticsearch</artifactId >
6- <version >2.0.2 </version >
6+ <version >2.1.0-SNAPSHOT </version >
77 <packaging >jar</packaging >
88 <name >jmeter.backendlistener.elasticsearch</name >
99 <url >http://maven.apache.org</url >
Original file line number Diff line number Diff line change @@ -29,7 +29,14 @@ public void setUp() throws Exception {
2929 @ Test
3030 public void testGetElapsedTime () throws Exception {
3131 SimpleDateFormat sdf = new SimpleDateFormat ("yyyy-MM-dd HH:mm:ss" );
32- Date testDate = this .instance .getElapsedDate ();
32+ Date testDate = this .instance .getElapsedDate (false );
33+ assertNotNull ("testDate = " + sdf .format (testDate ), sdf .format (testDate ));
34+ }
35+
36+ @ Test
37+ public void testGetElapsedTimeJenkins () throws Exception {
38+ SimpleDateFormat sdf = new SimpleDateFormat ("yyyy-MM-dd HH:mm:ss" );
39+ Date testDate = this .instance .getElapsedDate (true );
3340 assertNotNull ("testDate = " + sdf .format (testDate ), sdf .format (testDate ));
3441 }
3542}
You can’t perform that action at this time.
0 commit comments