File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
xrpl4j-integration-tests/src/test/java/org/xrpl/xrpl4j/tests Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -284,7 +284,7 @@ void createAddFundsAndSetExpirationToPaymentChannel() throws JsonRpcClientErrorE
284284 .destination (destinationKeyPair .publicKey ().deriveAddress ())
285285 .settleDelay (UnsignedInteger .ONE )
286286 .publicKey (sourceKeyPair .publicKey ().base16Value ())
287- .cancelAfter (this .instantToXrpTimestamp (Instant .now ().plus (Duration .ofMinutes (60 ))))
287+ // .cancelAfter(this.instantToXrpTimestamp(Instant.now().plus(Duration.ofMinutes(60))))
288288 .signingPublicKey (sourceKeyPair .publicKey ())
289289 .build ();
290290
@@ -315,7 +315,7 @@ void createAddFundsAndSetExpirationToPaymentChannel() throws JsonRpcClientErrorE
315315 assertThat (paymentChannel .amount ()).isEqualTo (paymentChannelCreate .amount ());
316316 assertThat (paymentChannel .settleDelay ()).isEqualTo (paymentChannelCreate .settleDelay ());
317317 assertThat (paymentChannel .publicKeyHex ()).isNotEmpty ().get ().isEqualTo (paymentChannelCreate .publicKey ());
318- assertThat (paymentChannel .cancelAfter ()).isNotEmpty (). get (). isEqualTo ( paymentChannelCreate . cancelAfter (). get () );
318+ assertThat (paymentChannel .cancelAfter ()).isEmpty ( );
319319
320320 PayChannelObject payChannelObject = scanForPayChannelObject (sourceKeyPair , destinationKeyPair );
321321 assertThatEntryEqualsObjectFromAccountObjects (payChannelObject );
Original file line number Diff line number Diff line change 3030import org .testcontainers .containers .BindMode ;
3131import org .testcontainers .containers .GenericContainer ;
3232import org .testcontainers .containers .wait .strategy .LogMessageWaitStrategy ;
33+ import org .testcontainers .images .ImagePullPolicy ;
34+ import org .testcontainers .images .PullPolicy ;
3335import org .xrpl .xrpl4j .client .JsonRpcClientErrorException ;
3436import org .xrpl .xrpl4j .client .XrplAdminClient ;
3537import org .xrpl .xrpl4j .client .XrplClient ;
@@ -87,6 +89,7 @@ public RippledContainer() {
8789 cmd .withEntrypoint ("/opt/ripple/bin/rippled" ))
8890 .withCommand ("-a --start --conf /config/rippled.cfg" )
8991 .withExposedPorts (5005 )
92+ .withImagePullPolicy (PullPolicy .alwaysPull ())
9093 .withClasspathResourceMapping ("rippled" ,
9194 "/config" ,
9295 BindMode .READ_ONLY )
You can’t perform that action at this time.
0 commit comments