Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

#4008 - Allow packages and payloads over 2GiB #228

Merged
merged 1 commit into from Feb 16, 2021

Conversation

AlexKubiesa
Copy link
Contributor

This should resolve wixtoolset/issues/issues/4008.

The fix itself was simple - just converting an int to a long.

For the test, I basically copied the existing pattern in BundleFixture. The data file large_file.dat committed to the repo is a dummy file which gets enlarged to 2.5GiB during the test. It then gets deleted at the end of the test to avoid taking up a lot of space.

@robmen
Copy link
Member

robmen commented Feb 16, 2021

One last nit: could you rebase these changes down to a single commit? I prefer to see the change and its test(s) all together in the same commit for future reference. Also, the separate commits for review feedback add noise to the history. Thanks.

PS: Sorry, should have mentioned that in last review.

@AlexKubiesa
Copy link
Contributor Author

Ok no worries, I'll do that now.

@robmen robmen merged commit 0ce3a9b into wixtoolset:master Feb 16, 2021
@AlexKubiesa AlexKubiesa deleted the n4008-large-payload branch February 16, 2021 00:40
@@ -0,0 +1 @@
This is a fakeba.dll
Copy link
Contributor

Choose a reason for hiding this comment

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

@robmen Like you wanted them to narrow what was being tested, I would like tests not to have their own files unless it's necessary. Creating fake BA dlls and using localization seems like overkill in most scenarios and will also bloat the repo.

Copy link
Member

Choose a reason for hiding this comment

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

I don't disagree but we should clean up all the tests to work this way.

Copy link
Contributor

Choose a reason for hiding this comment

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

I already write all of my tests that way, I haven't looked lately at how many need to be cleaned up.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants