-
Notifications
You must be signed in to change notification settings - Fork 205
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
Conversation
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
eb08889
to
ed63075
Compare
@@ -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}} |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
Sorry for the confusion. Indeed, Sandbox-on-X is exposed underneath the sandbox-classic CLI. We'll rename it one go soon. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @cocreature
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
CHANGELOG_BEGIN
andCHANGELOG_END
tagsNOTE: CI is not automatically run on non-members pull-requests for security
reasons. The reviewer will have to comment with
/AzurePipelines run
totrigger the build.