Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate Haskell tests to Sandbox on X #12761

Merged
merged 2 commits into from
Feb 7, 2022
Merged

Migrate Haskell tests to Sandbox on X #12761

merged 2 commits into from
Feb 7, 2022

Conversation

cocreature
Copy link
Contributor

The diff here looks extremely confusing. sandbox-classic is now
sandbox on x not sandbox classic so this isn’t a typo. It is really
moving to sandbox on x.

changelog_begin
changelog_end

Pull Request Checklist

  • Read and understand the contribution guidelines
  • Include appropriate tests
  • Set a descriptive title and thorough description
  • Add a reference to the issue this PR will solve, if appropriate
  • Include changelog additions in one or more commit message bodies between the CHANGELOG_BEGIN and CHANGELOG_END tags
  • Normal production system change, include purpose of change in description
  • If you mean to change the status of a component, please make sure you keep the Component Status page up to date.

NOTE: CI is not automatically run on non-members pull-requests for security
reasons. The reviewer will have to comment with /AzurePipelines run to
trigger the build.

The diff here looks extremely confusing. sandbox-classic is now
sandbox on x not sandbox classic so this isn’t a typo. It is really
moving to sandbox on x.

changelog_begin
changelog_end
.
changelog_begin
changelog_end
@@ -327,7 +327,7 @@ tGetLedgerConfiguration withSandbox = testCase "tGetLedgerConfiguration" $ run w
xs <- getLedgerConfiguration lid
Just (Right config) <- liftIO $ timeout 1 (takeStream xs)
let expected = LedgerConfiguration {
maxDeduplicationTime = Duration {durationSeconds = 86400, durationNanos = 0}}
maxDeduplicationTime = Duration {durationSeconds = 1800, durationNanos = 0}}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@tudor-da I assume this is expected?

Copy link
Contributor

@tudor-da tudor-da Feb 7, 2022

Choose a reason for hiding this comment

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

Yes. This is due to an optimization for Sandbox-on-X. For simplicity, deduplication is done in-memory for Sandbox-on-X. For that reason (i.e to avoid OOMs), the default maxDeduplicationTime is 30 minutes with the maximum configurable to one hour.

@cocreature cocreature marked this pull request as ready for review February 7, 2022 19:25
@cocreature cocreature requested review from a user and tudor-da and removed request for sofiafaro-da February 7, 2022 19:26
@tudor-da
Copy link
Contributor

tudor-da commented Feb 7, 2022

The diff here looks extremely confusing. sandbox-classic is now
sandbox on x not sandbox classic so this isn’t a typo. It is really
moving to sandbox on x.

Sorry for the confusion. Indeed, Sandbox-on-X is exposed underneath the sandbox-classic CLI. We'll rename it one go soon.

Copy link
Contributor

@tudor-da tudor-da left a comment

Choose a reason for hiding this comment

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

Thanks @cocreature

@cocreature cocreature merged commit 2216573 into main Feb 7, 2022
@cocreature cocreature deleted the hs-sandbox-test branch February 7, 2022 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants