File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
xrpl4j-core/src/test/java/org/xrpl/xrpl4j/model/ledger
xrpl4j-integration-tests/src/test/java/org/xrpl/xrpl4j/tests Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ public void deserializeWithProblematicTimeStamp() throws JsonProcessingException
231231 " \" ledger_hash\" : \" 3652D7FD0576BC452C0D2E9B747BDD733075971D1A9A1D98125055DEF428721A\" ,\n " +
232232 " \" account_hash\" : \" B258A8BB4743FB74CBBD6E9F67E4A56C4432EA09E5805E4CC2DA26F2DBE8F3D1\" ,\n " +
233233 " \" close_time\" : 638329271,\n " +
234- " \" close_time_human\" : \" 2021-Jun-11 09:06:10.000000000.000000.000 UTC\" ,\n " +
234+ " \" close_time_human\" : \" 2021-Jun-11 09:06:10.000000000 UTC\" ,\n " +
235235 " \" closed\" : true,\n " +
236236 " \" parent_hash\" : \" AE996778246BC81F85D5AF051241DAA577C23BCA04C034A7074F93700194520D\" ,\n " +
237237 " \" parent_close_time\" : 638329270,\n " +
Original file line number Diff line number Diff line change 2727import com .google .common .primitives .UnsignedInteger ;
2828import com .google .common .primitives .UnsignedLong ;
2929import org .junit .jupiter .api .Test ;
30+ import org .junit .jupiter .api .condition .DisabledIf ;
3031import org .xrpl .xrpl4j .client .JsonRpcClientErrorException ;
3132import org .xrpl .xrpl4j .crypto .keys .KeyPair ;
3233import org .xrpl .xrpl4j .crypto .mpt .BlindingFactor ;
8687import java .util .Collections ;
8788import java .util .Optional ;
8889
89- @ SuppressWarnings ( "OptionalGetWithoutIsPresent " )
90+ @ DisabledIf ( value = "shouldNotRun" , disabledReason = "ConfidentialTransfersIT only runs on local rippled node. " )
9091public class ConfidentialTransfersIT extends AbstractIT {
9192
9293 private static final String SUCCESS_STATUS = "tesSUCCESS" ;
9394
95+ static boolean shouldNotRun () {
96+ return System .getProperty ("useTestnet" ) != null ||
97+ System .getProperty ("useClioTestnet" ) != null ||
98+ System .getProperty ("useDevnet" ) != null ;
99+ }
100+
94101 @ Test
95102 public void testEntireFlow () throws JsonRpcClientErrorException , JsonProcessingException {
96103 //////////////////////
You can’t perform that action at this time.
0 commit comments