File tree Expand file tree Collapse file tree 3 files changed +14
-1
lines changed
src/test/java/org/apache/hadoop/hbase/monitoring Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 325325 <artifactId >reload4j</artifactId >
326326 <scope >test</scope >
327327 </dependency >
328+ <dependency >
329+ <groupId >org.skyscreamer</groupId >
330+ <artifactId >jsonassert</artifactId >
331+ <scope >test</scope >
332+ </dependency >
328333 </dependencies >
329334 <build >
330335 <!-- Make sure resources get added before they are processed by placing this first
Original file line number Diff line number Diff line change 3838import org .junit .ClassRule ;
3939import org .junit .Test ;
4040import org .junit .experimental .categories .Category ;
41+ import org .skyscreamer .jsonassert .JSONAssert ;
4142import org .slf4j .Logger ;
4243import org .slf4j .LoggerFactory ;
4344
@@ -238,7 +239,7 @@ public void testClone() throws Exception {
238239 assertEquals (clone .getStatus (), monitor .getStatus ());
239240 assertEquals (clone .toString (), monitor .toString ());
240241 assertEquals (clone .toMap (), monitor .toMap ());
241- assertEquals (clone .toJSON (), monitor .toJSON ());
242+ JSONAssert . assertEquals (clone .toJSON (), monitor .toJSON (), true );
242243
243244 // mark complete and make param dirty
244245 monitor .markComplete ("complete RPC" );
Original file line number Diff line number Diff line change 600600 <jcodings .version>1.0.55</jcodings .version>
601601 <spy .version>2.12.2</spy .version>
602602 <bouncycastle .version>1.70</bouncycastle .version>
603+ <skyscreamer .version>1.5.1</skyscreamer .version>
603604 <kerby .version>1.0.1</kerby .version>
604605 <commons-crypto .version>1.0.0</commons-crypto .version>
605606 <curator .version>4.2.0</curator .version>
12881289 <version >${bouncycastle.version} </version >
12891290 <scope >test</scope >
12901291 </dependency >
1292+ <dependency >
1293+ <groupId >org.skyscreamer</groupId >
1294+ <artifactId >jsonassert</artifactId >
1295+ <version >${skyscreamer.version} </version >
1296+ <scope >test</scope >
1297+ </dependency >
12911298 <dependency >
12921299 <groupId >org.apache.kerby</groupId >
12931300 <artifactId >kerb-core</artifactId >
You can’t perform that action at this time.
0 commit comments