Skip to content

Commit

Permalink
Fix flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
sisuresh committed Sep 12, 2023
1 parent 3acf6dd commit f07f426
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -511,8 +511,13 @@ class ApplyBucketsWorkModifyEntry : public ApplyBucketsWork
{
ContractCodeEntry const& cc = mEntry.data.contractCode();
entry.lastModifiedLedgerSeq = mEntry.lastModifiedLedgerSeq;
entry.data.contractCode() =
LedgerTestUtils::generateValidContractCodeEntry(5);

while (entry.data.contractCode().code ==
mEntry.data.contractCode().code)
{
entry.data.contractCode() =
LedgerTestUtils::generateValidContractCodeEntry(5);
}

entry.data.contractCode().hash = cc.hash;
}
Expand Down

5 comments on commit f07f426

@latobarita
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from marta-lokhova
at sisuresh@f07f426

@latobarita
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging sisuresh/stellar-core/fix-test = f07f426 into auto

@latobarita
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sisuresh/stellar-core/fix-test = f07f426 merged ok, testing candidate = 8a9cb92

@latobarita
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@latobarita
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 8a9cb92

Please sign in to comment.