Skip to content

Commit

Permalink
Merge branch 'develop' into 9659-CryptoTransferSuite
Browse files Browse the repository at this point in the history
  • Loading branch information
iwsimon committed Nov 6, 2023
2 parents 063a56d + 824d007 commit d048535
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,11 @@
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

/* ! WARNING - Requires a RecordCache TTL of 3s to pass ! */
/**
* ! WARNING - Requires a RecordCache TTL of 3s to pass !
*
* <p>Even with a 3s TTL, a number of these tests fail. FUTURE: revisit
* */
@HapiTestSuite
public class TxnRecordRegression extends HapiSuite {
static final Logger log = LogManager.getLogger(TxnRecordRegression.class);
Expand All @@ -67,6 +71,7 @@ public List<HapiSpec> getSpecsInSuite() {
});
}

// FUTURE: revisit this test, which isn't passing in modular or mono code (even with a 3 second TTL)
private HapiSpec recordAvailableInPayerState() {
return defaultHapiSpec("RecordAvailableInPayerState")
.given(
Expand All @@ -80,6 +85,7 @@ private HapiSpec recordAvailableInPayerState() {
getTxnRecord("recordTxn").hasPriority(recordWith().status(SUCCESS)));
}

// FUTURE: revisit this test, which isn't passing in modular or mono code (even with a 3 second TTL)
private HapiSpec deletedAccountRecordsUnavailableAfterTtl() {
return defaultHapiSpec("DeletedAccountRecordsUnavailableAfterTtl")
.given(
Expand Down Expand Up @@ -121,6 +127,7 @@ private HapiSpec recordUnavailableBeforeConsensus() {
getTxnRecord("success").hasAnswerOnlyPrecheck(RECORD_NOT_FOUND));
}

// FUTURE: revisit this test, which isn't passing in modular or mono code (even with a 3 second TTL)
private HapiSpec recordUnavailableIfRejectedInPrecheck() {
return defaultHapiSpec("RecordUnavailableIfRejectedInPrecheck")
.given(usableTxnIdNamed("failingTxn"), cryptoCreate("misc").balance(1_000L))
Expand Down

0 comments on commit d048535

Please sign in to comment.